Limit Godot template extraction

This commit is contained in:
hz
2026-07-14 01:03:39 -05:00
parent f5c5d9f00e
commit aa114dd21f
2 changed files with 10 additions and 3 deletions
+5 -3
View File
@@ -18,9 +18,11 @@ RUN curl -fsSLO "https://github.com/godotengine/godot-builds/releases/download/$
&& sha512sum --check selected-checksums.txt \
&& unzip -q "Godot_v${GODOT_RELEASE}_linux.x86_64.zip" \
&& install -m 0755 "Godot_v${GODOT_RELEASE}_linux.x86_64" /usr/local/bin/godot \
&& mkdir -p "/root/.local/share/godot/export_templates/${GODOT_TEMPLATE_DIR}" /tmp/godot-templates \
&& unzip -q "Godot_v${GODOT_RELEASE}_export_templates.tpz" -d /tmp/godot-templates \
&& cp -a /tmp/godot-templates/templates/. "/root/.local/share/godot/export_templates/${GODOT_TEMPLATE_DIR}/"
&& mkdir -p "/root/.local/share/godot/export_templates/${GODOT_TEMPLATE_DIR}" \
&& unzip -j -q "Godot_v${GODOT_RELEASE}_export_templates.tpz" \
templates/web_nothreads_debug.zip templates/web_nothreads_release.zip \
-d "/root/.local/share/godot/export_templates/${GODOT_TEMPLATE_DIR}" \
&& rm -f Godot_v*.zip Godot_v*.tpz SHA512-SUMS.txt selected-checksums.txt
WORKDIR /src
COPY . .