Add new dockerfile godot 4.0

This commit is contained in:
deed 2022-01-24 11:25:11 +01:00
parent afd5b4ed61
commit 337e5a1e5c

30
godot4/Dockerfile Normal file
View file

@ -0,0 +1,30 @@
FROM debian:buster
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 \
apt-utils \
ca-certificates \
git \
git-lfs \
python \
python-openssl \
unzip \
wget \
zip \
&& rm -rf /var/lib/apt/lists/*
ENV GODOT_VERSION "4.0-alfa1"
RUN wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-stable_linux_headless.64.zip \
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha1/Godot_v4.0-alpha1_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