Skip to content

Commit d2d85c5

Browse files
authored
Merge pull request #306 from notimaginative/fix_docker_image
set platform for docker run to fix arm64 issue
2 parents 03777ab + 6a4c643 commit d2d85c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ci/create_appimage.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ case "$ARCH" in
4040
;;
4141
"aarch64" | "arm64")
4242
DOTNET_ARCH="arm64"
43-
DOCKER_ARCH="arm64v8"
43+
DOCKER_ARCH="arm64/v8"
4444
;;
4545
*)
4646
fail_msg "Unknown arch! Aborting!"
@@ -52,12 +52,12 @@ esac
5252

5353

5454
# now just run script in appropriate container to generate bundle
55-
docker run --rm \
55+
docker run --platform linux/$DOCKER_ARCH --rm \
5656
-e ARCH="$ARCH" \
5757
-e PUBLISH_DIR="/PublishDir" \
5858
-e OUTPUT_DIR="/OutputDir" \
5959
-v "$REPO_ROOT":/repo \
6060
-v "$PUBLISH_DIR":/PublishDir \
6161
-v "$OUTPUT_DIR":/OutputDir \
62-
-t $DOCKER_ARCH/ubuntu:jammy \
62+
-t ubuntu:jammy \
6363
/bin/bash -xc "/repo/ci/bundle_appimage.sh"

0 commit comments

Comments
 (0)