Skip to content

Commit 6b5e66a

Browse files
committed
Remove --platform linux/x86_64/v8 from DOCKER_OPTIONS
1 parent 43f22ee commit 6b5e66a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

create_image.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ declare -r project_version="${PROJECT_VERSION:-1.0.0-alpha}"
1515
echo "Building image '$DOCKER_IMAGE_NAME:$DOCKER_IMAGE_TAG'..."
1616
# TIP: Add `--progress=plain` to see the full docker output when you are
1717
# troubleshooting the build setup of your image.
18-
#
19-
# Force x86_64 as the platform. This workaround is needed on Apple Silicon
20-
# machines. Details at https://stackoverflow.com/questions/70736928/.
21-
declare -r DOCKER_OPTIONS="--platform linux/x86_64/v8"
18+
declare -r DOCKER_OPTIONS=""
2219
# Use BuildKit, i.e. `buildx build` instead of just `build`
2320
# https://docs.docker.com/build/
2421
docker buildx build $DOCKER_OPTIONS --build-arg PROJECT_VERSION=${project_version} -t "$DOCKER_IMAGE_NAME":"$DOCKER_IMAGE_TAG" .

0 commit comments

Comments
 (0)