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
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
apt-utils \
|
||||
ca-certificates \
|
||||
git \
|
||||
git-lfs \
|
||||
python3 \
|
||||
python3-openssl \
|
||||
unzip \
|
||||
wget \
|
||||
zip \
|
||||
build-essential \
|
||||
scons \
|
||||
pkg-config \
|
||||
libx11-dev \
|
||||
|
@ -26,31 +17,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
libudev-dev \
|
||||
libxi-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/*
|
||||
|
||||
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 \
|
||||
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha5/Godot_v4.0-alpha5_export_templates.tpz \
|
||||
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_v${GODOT_VERSION}_export_templates.tpz \
|
||||
&& mkdir ~/.cache \
|
||||
&& mkdir -p ~/.config/godot \
|
||||
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION} \
|
||||
&& unzip Godot_v4.0-alpha5_linux.64.zip \
|
||||
&& mv Godot_v4.0-alpha5_linux.64 /usr/local/bin/godot \
|
||||
&& unzip Godot_v4.0-alpha5_export_templates.tpz \
|
||||
&& unzip Godot_v${GODOT_VERSION}_linux.64.zip \
|
||||
&& mv Godot_v${GODOT_VERSION}_linux.64 /usr/local/bin/godot \
|
||||
&& unzip Godot_v${GODOT_VERSION}_export_templates.tpz \
|
||||
&& 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