FROM debian:12.8-slim ARG PLATFORM="linux.x86_64" ARG GODOT_VERSION="4.3-stable" ARG BUTLER_VERSION="15.12.0" ENV BUTLER_API_KEY="" RUN apt-get update \ && apt-get install -y wget zip unzip libfontconfig1 \ && rm -rf /var/lib/apt/lists/* COPY commands/godot_build.sh /usr/bin/godot_build COPY commands/godot_build_web.sh /usr/bin/godot_build_web COPY commands/godot_install.sh /usr/bin/godot_install COPY commands/godot_project_title.sh /usr/bin/godot_project_title COPY commands/butler_install.sh /usr/bin/butler_install COPY commands/butler_upload.sh /usr/bin/butler_upload RUN chmod +x /usr/bin/godot_* /usr/bin/butler_* && \ godot_install $GODOT_VERSION $PLATFORM && cp ./godot /usr/bin/godot && \ butler_install $BUTLER_VERSION