Skip to content

Commit

Permalink
always use buildkit in custom dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed Jun 24, 2022
1 parent b170eaf commit 228f964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/docker/custom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ impl<'a> Dockerfile<'a> {
let mut docker_build = docker::subcommand(engine, "build");
docker_build.current_dir(host_root);
docker_build.env("DOCKER_SCAN_SUGGEST", "false");
docker_build.env("DOCKER_BUILDKIT", "1");
docker_build.args(&["--platform", "linux/amd64"]);
docker_build.args([
"--label",
Expand Down

0 comments on commit 228f964

Please sign in to comment.