Skip to content

Commit f2d1f06

Browse files
authored
Add platform to docker run (#4368)
1 parent a317c5e commit f2d1f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go-sdk/generate-docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ chown -R $UID /registry/go-sdk &&
2727
chgrp -R $GID /registry/go-sdk
2828
END
2929

30-
docker run --rm -v $SCRIPT_DIR/..:/registry golang:1.21.6 /bin/bash -c "$SCRIPT"
30+
docker run --platform linux/amd64 --rm -v $SCRIPT_DIR/..:/registry golang:1.21.6 /bin/bash -c "$SCRIPT"

0 commit comments

Comments
 (0)