From fbcaafa99a352d7228930484aa2242c7f8b424a0 Mon Sep 17 00:00:00 2001 From: deed Date: Sun, 3 Apr 2022 11:53:05 +0200 Subject: [PATCH] Update Dockerfile --- godot4/Dockerfile | 39 ++++++++------------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/godot4/Dockerfile b/godot4/Dockerfile index c22fb29..da530ea 100644 --- a/godot4/Dockerfile +++ b/godot4/Dockerfile @@ -4,16 +4,7 @@ LABEL version="1.0" maintainer="Khaganat " 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