From 475a04683d56d0b7d8aaa7ee567268ba8724bdf5 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 23 Jan 2025 09:02:33 +0100 Subject: [PATCH] map aarch64 to arm64 --- Containerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index d41ea52..a36c4e4 100644 --- a/Containerfile +++ b/Containerfile @@ -13,10 +13,11 @@ RUN eval "echo \"\${GODOT_TEMPLATES_HASH} Godot_v$GODOT_VERSION-stable_export_t RUN mkdir -p /export_templates/$GODOT_VERSION.stable RUN unzip -j Godot_v$GODOT_VERSION-stable_export_templates.tpz -d /export_templates/$GODOT_VERSION.stable/ -RUN curl -L -O https://github.com/godotengine/godot/releases/download/$GODOT_VERSION-stable/Godot_v$GODOT_VERSION-stable_linux.$(arch).zip -RUN eval "echo \"\${GODOT_HASH_$(arch)} Godot_v$GODOT_VERSION-stable_linux.$(arch).zip\" | sha256sum -c -" || exit 1 -RUN unzip Godot_v$GODOT_VERSION-stable_linux.$(arch).zip -d /src -RUN mv /src/Godot_v$GODOT_VERSION-stable_linux.$(arch) /src/godot +RUN ARCH=$(arch); if [ "$ARCH" = "aarch64" ]; then ARCH="arm64"; fi; \ + curl -L -o /godot.zip https://github.com/godotengine/godot/releases/download/$GODOT_VERSION-stable/Godot_v$GODOT_VERSION-stable_linux.$ARCH.zip +RUN eval "echo \"\${GODOT_HASH_$(arch)} godot.zip\" | sha256sum -c -" || exit 1 +RUN unzip godot.zip -d /src +RUN mv /src/Godot_v$GODOT_VERSION-stable_linux.* /src/godot FROM docker.io/debian:bookworm-slim