Docker-files-for-CI/godot4/Dockerfile

43 lines
1.3 KiB
Docker
Raw Normal View History

2022-02-10 17:44:23 +00:00
FROM debian:bullseye
2022-01-24 10:25:11 +00:00
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 \
2022-04-03 09:59:30 +00:00
ca-certificates \
git \
git-lfs \
2022-04-03 10:07:35 +00:00
python3 \
python3-openssl \
2022-04-03 09:59:30 +00:00
unzip \
wget \
zip \
rsync \
2022-04-03 09:53:05 +00:00
build-essential \
2022-02-01 10:45:56 +00:00
scons \
pkg-config \
libx11-dev \
libxcursor-dev \
libxinerama-dev \
libgl1-mesa-dev \
libglu-dev \
libasound2-dev \
libpulse-dev \
libudev-dev \
libxi-dev \
libxrandr-dev \
2022-01-24 10:25:11 +00:00
&& rm -rf /var/lib/apt/lists/*
2022-05-15 20:04:34 +00:00
ENV GODOT_VERSION "4.0-alpha8"
2022-01-24 10:25:11 +00:00
2022-05-15 20:04:34 +00:00
RUN wget https://downloads.tuxfamily.org/godotengine/4.0/alpha8/Godot_v${GODOT_VERSION}_linux.64.zip \
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha8/Godot_v${GODOT_VERSION}_export_templates.tpz \
2022-01-24 10:25:11 +00:00
&& mkdir ~/.cache \
&& mkdir -p ~/.config/godot \
2022-05-15 20:04:34 +00:00
&& mkdir -p ~/.local/share/godot/templates/4.0.alpha8 \
2022-04-03 09:53:05 +00:00
&& 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 \
2022-05-15 20:04:34 +00:00
&& mv templates/* ~/.local/share/godot/templates/4.0.alpha8 \
&& rm -f Godot_v4.0-alpha8_export_templates.tpz Godot_v${GODOT_VERSION}_linux.64.zip