Limit Godot template extraction
This commit is contained in:
+5
-3
@@ -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 . .
|
||||
|
||||
Reference in New Issue
Block a user