33 lines
1.2 KiB
Docker
33 lines
1.2 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 \
|
|
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/*
|
|
|
|
ENV GODOT_VERSION "4.0-alpha5"
|
|
|
|
RUN wget https://downloads.tuxfamily.org/godotengine/4.0/alpha5/Godot_v${GODOT_VERSION}_linux.64.zip \
|
|
&& wget https://downloads.tuxfamily.org/godotengine/4.0/alpha5/Godot_v${GODOT_VERSION}_export_templates.tpz \
|
|
&& mkdir ~/.cache \
|
|
&& mkdir -p ~/.config/godot \
|
|
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION} \
|
|
&& 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 \
|
|
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION} \
|
|
&& rm -f Godot_v4.0-alpha5_export_templates.tpz Godot_v${GODOT_VERSION}_linux.64.zip
|