Docker-files-for-CI/godot4/Dockerfile

57 lines
1.5 KiB
Text
Raw Normal View History

2022-02-10 17:44:23 +00:00
FROM debian:bullseye
2022-01-24 10:25:11 +00:00
LABEL version="1.0" maintainer="Khaganat <contact@khaganat.net>"
USER root
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
2022-02-04 16:05:03 +00:00
build-essential \
2022-01-24 10:25:11 +00:00
apt-utils \
ca-certificates \
git \
git-lfs \
2022-02-10 17:47:03 +00:00
python3 \
python3-openssl \
2022-01-24 10:25:11 +00:00
unzip \
wget \
zip \
2022-02-01 10:45:56 +00:00
scons \
pkg-config \
libx11-dev \
libxcursor-dev \
libxinerama-dev \
libgl1-mesa-dev \
libglu-dev \
libasound2-dev \
libpulse-dev \
libudev-dev \
libxi-dev \
libxrandr-dev \
2022-02-10 17:41:42 +00:00
libc6 \
libenet7 \
libgcc-s1 \
libogg0 \
libopus0 \
libpcre2-32-0 \
libpng16-16 \
libpulse0 \
libsquish0 \
libtheora0 \
libvorbis0a \
libxrender1 \
2022-02-20 14:55:09 +00:00
libfreetype6-dev \
2022-02-20 17:01:10 +00:00
gcc-10 \
2022-01-24 10:25:11 +00:00
&& rm -rf /var/lib/apt/lists/*
2022-02-09 20:16:24 +00:00
ENV GODOT_VERSION "4.0-alfa2"
2022-01-24 10:25:11 +00:00
2022-02-09 20:16:24 +00:00
RUN wget https://downloads.tuxfamily.org/godotengine/4.0/alpha2/Godot_v4.0-alpha2_linux.64.zip \
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha2/Godot_v4.0-alpha2_export_templates.tpz \
2022-01-24 10:25:11 +00:00
&& mkdir ~/.cache \
&& mkdir -p ~/.config/godot \
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION}.stable \
2022-02-09 20:16:24 +00:00
&& unzip Godot_v4.0-alpha2_linux.64.zip \
&& mv Godot_v4.0-alpha2_linux.64 /usr/local/bin/godot \
&& unzip Godot_v4.0-alpha2_export_templates.tpz \
2022-01-24 10:25:11 +00:00
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.stable \
2022-02-09 20:16:24 +00:00
&& rm -f Godot_v4.0-alpha2_export_templates.tpz Godot_v4.0-alpha2_linux.64.zip