56 lines
1.5 KiB
Docker
56 lines
1.5 KiB
Docker
FROM debian:bullseye
|
|
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 \
|
|
build-essential \
|
|
apt-utils \
|
|
ca-certificates \
|
|
git \
|
|
git-lfs \
|
|
python3 \
|
|
python3-openssl \
|
|
unzip \
|
|
wget \
|
|
zip \
|
|
scons \
|
|
pkg-config \
|
|
libx11-dev \
|
|
libxcursor-dev \
|
|
libxinerama-dev \
|
|
libgl1-mesa-dev \
|
|
libglu-dev \
|
|
libasound2-dev \
|
|
libpulse-dev \
|
|
libudev-dev \
|
|
libxi-dev \
|
|
libxrandr-dev \
|
|
libc6 \
|
|
libenet7 \
|
|
libfreetype6 \
|
|
libgcc-s1 \
|
|
libogg0 \
|
|
libopus0 \
|
|
libpcre2-32-0 \
|
|
libpng16-16 \
|
|
libpulse0 \
|
|
libsquish0 \
|
|
libtheora0 \
|
|
libvorbis0a \
|
|
libxrender1 \
|
|
libfreetype6-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV GODOT_VERSION "4.0-alfa2"
|
|
|
|
RUN wget https://downloads.tuxfamily.org/godotengine/4.0/alpha2/Godot_v4.0-alpha2_linux.64.zip \
|
|
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha2/Godot_v4.0-alpha2_export_templates.tpz \
|
|
&& mkdir ~/.cache \
|
|
&& mkdir -p ~/.config/godot \
|
|
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION}.stable \
|
|
&& unzip Godot_v4.0-alpha2_linux.64.zip \
|
|
&& mv Godot_v4.0-alpha2_linux.64 /usr/local/bin/godot \
|
|
&& unzip Godot_v4.0-alpha2_export_templates.tpz \
|
|
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.stable \
|
|
&& rm -f Godot_v4.0-alpha2_export_templates.tpz Godot_v4.0-alpha2_linux.64.zip
|