builds godot
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 37 |
1 files changed, 13 insertions, 24 deletions
@@ -1,37 +1,26 @@ -FROM ubuntu:focal -LABEL author="bendn" +FROM ubuntu:jammy +LABEL author "bendn" +LABEL org.opencontainers.image.description "godot builds containerized for quick use, contains rcedit, blender and wine" USER root ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y --no-install-recommends \ - ca-certificates \ - git \ - git-lfs \ - python \ - python-openssl \ - unzip \ - wget \ - zip \ - adb \ + git git-lfs unzip sudo adb \ openjdk-11-jdk-headless \ - rsync \ + wget zip rsync wine64 blender \ && rm -rf /var/lib/apt/lists/* ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 -ARG GODOT_VERSION="3.5" -ARG RELEASE_NAME="rc" +ARG GODOT_VERSION +ARG RELEASE_NAME -COPY ./templates.tpz /root/templates.tpz +COPY ./templates.tpz /root/templates.tpz COPY ./godot /usr/local/bin/godot -RUN mkdir ~/.cache \ - && mkdir -p /root/.config/godot \ - && mkdir -p /root/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE_NAME} \ - && unzip -q /root/templates.tpz -d /root/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE_NAME} \ - && rm /root/templates.tpz -# Install editor-settings.tres -ADD https://raw.githubusercontent.com/bend-n/godot-builds/main/.github/editor-settings.tres /root/.config/godot/editor_settings-3.tres +# Install editor settings +ADD https://raw.githubusercontent.com/bend-n/godot-builds/main/.github/editor-settings-4.tres /root/.config/godot/editor_settings-4.tres +ADD https://raw.githubusercontent.com/bend-n/godot-builds/main/.github/editor-settings-3.tres /root/.config/godot/editor_settings-3.tres -# Test if godot is working -RUN godot -e -q +# Install rcedit +ADD https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe /usr/share/rcedit.exe |