Resolve "Créer une image Docker pour le client Godot" #5
1 changed files with 8 additions and 31 deletions
|
@ -4,16 +4,7 @@ LABEL version="1.0" maintainer="Khaganat <contact@khaganat.net>"
|
||||||
USER root
|
USER root
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
build-essential \
|
build-essential \
|
||||||
apt-utils \
|
|
||||||
ca-certificates \
|
|
||||||
git \
|
|
||||||
git-lfs \
|
|
||||||
python3 \
|
|
||||||
python3-openssl \
|
|
||||||
unzip \
|
|
||||||
wget \
|
|
||||||
zip \
|
|
||||||
scons \
|
scons \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
libx11-dev \
|
libx11-dev \
|
||||||
|
@ -26,31 +17,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
libudev-dev \
|
libudev-dev \
|
||||||
libxi-dev \
|
libxi-dev \
|
||||||
libxrandr-dev \
|
libxrandr-dev \
|
||||||
libc6 \
|
|
||||||
libenet7 \
|
|
||||||
libgcc-s1 \
|
|
||||||
libogg0 \
|
|
||||||
libopus0 \
|
|
||||||
libpcre2-32-0 \
|
|
||||||
libpng16-16 \
|
|
||||||
libpulse0 \
|
|
||||||
libsquish0 \
|
|
||||||
libtheora0 \
|
|
||||||
libvorbis0a \
|
|
||||||
libxrender1 \
|
|
||||||
libfreetype6-dev \
|
|
||||||
gcc-10 \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV GODOT_VERSION "4.0.alpha5"
|
ENV GODOT_VERSION "4.0-alpha5"
|
||||||
|
|
||||||
RUN wget https://downloads.tuxfamily.org/godotengine/4.0/alpha5/Godot_v4.0-alpha5_linux.64.zip \
|
RUN wget https://downloads.tuxfamily.org/godotengine/4.0/alpha5/Godot_v${GODOT_VERSION}_linux.64.zip \
|
||||||
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha5/Godot_v4.0-alpha5_export_templates.tpz \
|
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha5/Godot_v${GODOT_VERSION}_export_templates.tpz \
|
||||||
&& mkdir ~/.cache \
|
&& mkdir ~/.cache \
|
||||||
&& mkdir -p ~/.config/godot \
|
&& mkdir -p ~/.config/godot \
|
||||||
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION} \
|
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION} \
|
||||||
&& unzip Godot_v4.0-alpha5_linux.64.zip \
|
&& unzip Godot_v${GODOT_VERSION}_linux.64.zip \
|
||||||
&& mv Godot_v4.0-alpha5_linux.64 /usr/local/bin/godot \
|
&& mv Godot_v${GODOT_VERSION}_linux.64 /usr/local/bin/godot \
|
||||||
&& unzip Godot_v4.0-alpha5_export_templates.tpz \
|
&& unzip Godot_v${GODOT_VERSION}_export_templates.tpz \
|
||||||
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION} \
|
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION} \
|
||||||
&& rm -f Godot_v4.0-alpha5_export_templates.tpz Godot_v4.0-alpha5_linux.64.zip
|
&& rm -f Godot_v4.0-alpha5_export_templates.tpz Godot_v${GODOT_VERSION}_linux.64.zip
|
||||||
|
|
Loading…
Reference in a new issue