Resolve "Créer une image Docker pour le client Godot" #5
1 changed files with 9 additions and 9 deletions
|
@ -28,15 +28,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
libxrandr-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV GODOT_VERSION "4.0-alpha14"
|
||||
ENV GODOT_VERSION="4.0-stable"
|
||||
|
||||
RUN wget https://downloads.tuxfamily.org/godotengine/4.0/alpha14/Godot_v${GODOT_VERSION}_linux.64.zip \
|
||||
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha14/Godot_v${GODOT_VERSION}_export_templates.tpz \
|
||||
&& mkdir ~/.cache \
|
||||
RUN wget https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_linux.x86_64.zip \
|
||||
&& wget https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_export_templates.tpz \
|
||||
&& mkdir -p ~/.cache \
|
||||
&& mkdir -p ~/.config/godot \
|
||||
&& mkdir -p ~/.local/share/godot/templates/4.0.alpha14 \
|
||||
&& unzip Godot_v${GODOT_VERSION}_linux.64.zip \
|
||||
&& mv Godot_v${GODOT_VERSION}_linux.64 /usr/local/bin/godot \
|
||||
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION} \
|
||||
&& unzip Godot_v${GODOT_VERSION}_linux.x86_64.zip \
|
||||
&& mv Godot_v${GODOT_VERSION}_linux.x86_64 /usr/local/bin/godot \
|
||||
&& unzip Godot_v${GODOT_VERSION}_export_templates.tpz \
|
||||
&& mv templates/* ~/.local/share/godot/templates/4.0.alpha14 \
|
||||
&& rm -f Godot_v4.0-alpha14_export_templates.tpz Godot_v${GODOT_VERSION}_linux.64.zip
|
||||
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION} \
|
||||
&& rm -f Godot_v${GODOT_VERSION}_linux.x86_64.zip Godot_v${GODOT_VERSION}_export_templates.tpz
|
||||
|
|
Loading…
Reference in a new issue