]> Untitled Git - godot.git/blob - Dockerfile
Removed builder into its own project
[godot.git] / Dockerfile
1 FROM ubuntu:22.04
2
3 ARG GODOT_VERSION="4.4"
4
5 # Install Godot & templates
6 RUN apt update -y && apt install -y wget unzip fontconfig
7 RUN wget https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}-stable/Godot_v${GODOT_VERSION}-stable_linux.x86_64.zip \
8     && wget https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}-stable/Godot_v${GODOT_VERSION}-stable_export_templates.tpz \
9     && mkdir -p ~/.cache ~/.config/godot ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable \
10     && unzip Godot_v${GODOT_VERSION}-stable_linux*.zip \
11     && mv Godot_v${GODOT_VERSION}-stable_linux*64 /usr/local/bin/godot \
12     && unzip Godot_v${GODOT_VERSION}-stable_export_templates.tpz \
13     && mv templates/* ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable \
14     && rm Godot_v${GODOT_VERSION}-stable_export_templates.tpz Godot_v${GODOT_VERSION}-stable_linux*.zip
15
16 # Build application
17 WORKDIR /app
18
19 ENTRYPOINT [ "godot" ]