Docker-files-for-CI/godot4/Dockerfile

31 lines
1 KiB
Text
Raw Normal View History

2022-01-24 10:25:11 +00:00
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"
2022-02-01 10:31:58 +00:00
RUN wget https://downloads.tuxfamily.org/godotengine/4.0/alpha1/Godot_v4.0-alpha1_linux.64.zip \
2022-01-24 10:25:11 +00:00
&& 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 \
2022-02-01 10:31:58 +00:00
&& unzip Godot_v4.0-alpha1_linux.64.zip \
&& mv Godot_v4.0-alpha1_linux.64 /usr/local/bin/godot \
&& unzip Godot_v4.0-alpha1_export_templates.tpz \
2022-01-24 10:25:11 +00:00
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.stable \
2022-02-01 10:31:58 +00:00
&& rm -f Godot_v4.0-alpha1_export_templates.tpz Godot_v4.0-alpha1_linux.64.zip
2022-01-24 10:25:11 +00:00