2023-03-04 09:52:24 +00:00
|
|
|
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 \
|
|
|
|
ca-certificates \
|
|
|
|
git \
|
|
|
|
git-lfs \
|
|
|
|
python3 \
|
|
|
|
python3-openssl \
|
|
|
|
unzip \
|
|
|
|
wget \
|
|
|
|
zip \
|
|
|
|
rsync \
|
|
|
|
build-essential \
|
|
|
|
scons \
|
|
|
|
pkg-config \
|
|
|
|
libx11-dev \
|
|
|
|
libxcursor-dev \
|
|
|
|
libxinerama-dev \
|
|
|
|
libgl1-mesa-dev \
|
|
|
|
libglu-dev \
|
|
|
|
libasound2-dev \
|
|
|
|
libpulse-dev \
|
|
|
|
libudev-dev \
|
|
|
|
libxi-dev \
|
|
|
|
libxrandr-dev \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2024-07-10 15:41:26 +00:00
|
|
|
ENV GODOT_VERSION="4.2.2-stable"
|
2023-03-04 09:52:24 +00:00
|
|
|
|
|
|
|
RUN wget https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_linux.x86_64.zip \
|
|
|
|
&& wget https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_export_templates.tpz \
|
|
|
|
&& mkdir -p ~/.cache \
|
|
|
|
&& mkdir -p ~/.config/godot \
|
|
|
|
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION} \
|
|
|
|
&& unzip Godot_v${GODOT_VERSION}_linux.x86_64.zip \
|
|
|
|
&& mv Godot_v${GODOT_VERSION}_linux.x86_64 /usr/local/bin/godot \
|
|
|
|
&& unzip Godot_v${GODOT_VERSION}_export_templates.tpz \
|
|
|
|
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION} \
|
|
|
|
&& rm -f Godot_v${GODOT_VERSION}_linux.x86_64.zip Godot_v${GODOT_VERSION}_export_templates.tpz
|