Initial files
This commit is contained in:
28
3.0.2/Dockerfile
Normal file
28
3.0.2/Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
FROM ubuntu:xenial
|
||||||
|
LABEL author="artur@barichello.me"
|
||||||
|
|
||||||
|
# Usage example:
|
||||||
|
# godot --export "Mac OSX" /target/build.zip --path /path/to/project --build-solutions -quit -v
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
ca-certificates \
|
||||||
|
git \
|
||||||
|
python \
|
||||||
|
python-openssl \
|
||||||
|
unzip \
|
||||||
|
wget \
|
||||||
|
zip \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
ENV GODOT_VERSION "3.0.2"
|
||||||
|
|
||||||
|
RUN wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-stable_linux_server.64.zip \
|
||||||
|
&& wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-stable_export_templates.tpz \
|
||||||
|
&& mkdir ~/.cache \
|
||||||
|
&& mkdir -p ~/.config/godot \
|
||||||
|
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION}.stable \
|
||||||
|
&& unzip Godot_v${GODOT_VERSION}-stable_linux_server.64.zip \
|
||||||
|
&& mv Godot_v${GODOT_VERSION}-stable_linux_server.64 /usr/local/bin/godot \
|
||||||
|
&& unzip Godot_v${GODOT_VERSION}-stable_export_templates.tpz \
|
||||||
|
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.stable \
|
||||||
|
&& rm -f Godot_v${GODOT_VERSION}-stable_export_templates.tpz Godot_v${GODOT_VERSION}-stable_linux_server.64.zip
|
||||||
Reference in New Issue
Block a user