From 9feff5dc862e9ba6a2cad40aadff801649cf50bf Mon Sep 17 00:00:00 2001 From: aBARICHELLO Date: Wed, 24 Oct 2018 11:46:40 -0300 Subject: [PATCH] Initial files --- 3.0.2/Dockerfile | 28 ++++++++++++++++++++++++++++ README.md | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 3.0.2/Dockerfile diff --git a/3.0.2/Dockerfile b/3.0.2/Dockerfile new file mode 100644 index 0000000..209c38e --- /dev/null +++ b/3.0.2/Dockerfile @@ -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 diff --git a/README.md b/README.md index b29de56..82d7020 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # godot-ci Docker image to deploy Godot Engine games + +##### Docker Hub +https://hub.docker.com/r/barichello/godot-ci/