diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..84556dc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,25 @@ +stages: + - build_3.3.4 + - build_4 + +build-godot-export: + stage: build_3.3.4 + tags: + - shell + script: + - cd godot + - docker build -t khaganat/godot-export:3.3.4 . + - docker tag khaganat/godot-export:3.3.4 khaganat/godot-export:3.3.4 + - docker push khaganat/godot-export:3.3.4 + when: manual + +build-godot4-export: + stage: build_4 + tags: + - shell + script: + - cd godot4 + - docker build -t khaganat/godot-export:4 . + - docker tag khaganat/godot-export:4 khaganat/godot-export:4 + - docker push khaganat/godot-export:4 + when: manual diff --git a/godot/Dockerfile b/godot/Dockerfile new file mode 100644 index 0000000..dadb37b --- /dev/null +++ b/godot/Dockerfile @@ -0,0 +1,31 @@ +FROM debian:buster +LABEL version="1.0" maintainer="Khaganat " + +USER root +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update && apt-get install -y --no-install-recommends \ + apt-utils \ + ca-certificates \ + git \ + git-lfs \ + python \ + python-openssl \ + unzip \ + wget \ + zip \ + && rm -rf /var/lib/apt/lists/* + + +ENV GODOT_VERSION "3.3.4" + +RUN wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-stable_linux_headless.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_headless.64.zip \ + && mv Godot_v${GODOT_VERSION}-stable_linux_headless.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_headless.64.zip + diff --git a/godot4/.gitkeep b/godot4/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/godot4/Dockerfile b/godot4/Dockerfile new file mode 100644 index 0000000..622213a --- /dev/null +++ b/godot4/Dockerfile @@ -0,0 +1,42 @@ +FROM debian:bullseye +LABEL version="1.0" maintainer="Khaganat " + +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/* + +ENV GODOT_VERSION="4.0-stable" + +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