From b02749970ccbaa2ec124f816ca6a076c725b4748 Mon Sep 17 00:00:00 2001 From: deed Date: Tue, 12 Oct 2021 13:39:46 +0000 Subject: [PATCH] Add Dockerfile --- godot/Dockerfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 godot/Dockerfile diff --git a/godot/Dockerfile b/godot/Dockerfile new file mode 100644 index 0000000..638c1f4 --- /dev/null +++ b/godot/Dockerfile @@ -0,0 +1,27 @@ +FROM debian:buster + +USER root +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update && apt-get install -y --no-install-recommends \ + ca-certificates \ + git \ + git-lfs \ + python \ + python-openssl \ + unzip \ + wget \ + zip \ + +ENV GODOT_VERSION "3.3.4" + +RUN wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-stable_linux_headless.64.zip \ + && wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-stable_export_templates.tpz \ + && mkdir ~/.cache \ + && mkdir -p ~/.config/godot \ + && mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION}.stable \ + && unzip Godot_v${GODOT_VERSION}-stable_linux_headless.64.zip \ + && mv Godot_v${GODOT_VERSION}-stable_linux_headless.64 /usr/local/bin/godot \ + && unzip Godot_v${GODOT_VERSION}-stable_export_templates.tpz \ + && mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.stable \ + && rm -f Godot_v${GODOT_VERSION}-stable_export_templates.tpz Godot_v${GODOT_VERSION}-stable_linux_headless.64.zip +