Update to Godot 4.0 stable from official GitHub repository

This commit is contained in:
YannK 2023-03-04 10:36:03 +01:00
parent fc56b277b4
commit 50a64f8ba2

View file

@ -28,15 +28,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libxrandr-dev \ libxrandr-dev \
&& rm -rf /var/lib/apt/lists/* && 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 \ RUN wget https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_linux.x86_64.zip \
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha14/Godot_v${GODOT_VERSION}_export_templates.tpz \ && wget https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_export_templates.tpz \
&& mkdir ~/.cache \ && mkdir -p ~/.cache \
&& mkdir -p ~/.config/godot \ && mkdir -p ~/.config/godot \
&& mkdir -p ~/.local/share/godot/templates/4.0.alpha14 \ && mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION} \
&& unzip Godot_v${GODOT_VERSION}_linux.64.zip \ && unzip Godot_v${GODOT_VERSION}_linux.x86_64.zip \
&& mv Godot_v${GODOT_VERSION}_linux.64 /usr/local/bin/godot \ && mv Godot_v${GODOT_VERSION}_linux.x86_64 /usr/local/bin/godot \
&& unzip Godot_v${GODOT_VERSION}_export_templates.tpz \ && unzip Godot_v${GODOT_VERSION}_export_templates.tpz \
&& mv templates/* ~/.local/share/godot/templates/4.0.alpha14 \ && mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION} \
&& rm -f Godot_v4.0-alpha14_export_templates.tpz Godot_v${GODOT_VERSION}_linux.64.zip && rm -f Godot_v${GODOT_VERSION}_linux.x86_64.zip Godot_v${GODOT_VERSION}_export_templates.tpz