We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--platform linux/x86_64/v8
1 parent 43f22ee commit 6b5e66aCopy full SHA for 6b5e66a
create_image.sh
@@ -15,10 +15,7 @@ declare -r project_version="${PROJECT_VERSION:-1.0.0-alpha}"
15
echo "Building image '$DOCKER_IMAGE_NAME:$DOCKER_IMAGE_TAG'..."
16
# TIP: Add `--progress=plain` to see the full docker output when you are
17
# 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"
+declare -r DOCKER_OPTIONS=""
22
# Use BuildKit, i.e. `buildx build` instead of just `build`
23
# https://docs.docker.com/build/
24
docker buildx build $DOCKER_OPTIONS --build-arg PROJECT_VERSION=${project_version} -t "$DOCKER_IMAGE_NAME":"$DOCKER_IMAGE_TAG" .
0 commit comments