-
I'm trying to build a Dockerfile using the const asset = ecs.ContainerImage.fromAsset(path.join('..'), {
buildArgs: {
DOCKER_BUILDKIT: '1',
NODE_ENV: isProd ? 'production' : 'development',
},
platform: cdk.aws_ecr_assets.Platform.LINUX_ARM64,
}) since my Dockerfile uses the [100%] fail: docker build --build-arg DOCKER_BUILDKIT=1 --build-arg NODE_ENV=development --build-arg DOCKER_CLI_EXPERIMENTAL=enabled --tag cdkasset-952c5160f497ac5070d3992a57f00667797897a6aaaee1d5805e17bb448e3529 --platform linux/arm64 . exited with error code 1: the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled Do someone knows how can I fix this? I'm really lost on this one |
Beta Was this translation helpful? Give feedback.
Answered by
lastrafda
May 3, 2023
Replies: 2 comments
-
Sorry my |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lastrafda
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry my
/etc/docker/daemon.json
was incorrect. that was the issue