Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WithDockerfile playground app: Set DOCKER_BUILDKIT=1
  • Loading branch information
radical committed Aug 23, 2024
commit 736b871f1ef2ed966088a849f9504ba8c4c0fd3c
3 changes: 2 additions & 1 deletion playground/withdockerfile/WithDockerfile.AppHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

builder.AddDockerfile("mycontainer", "qots")
.WithBuildArg("GO_VERSION", goVersion)
.WithBuildSecret("SECRET_ASENV", secret);
.WithBuildSecret("SECRET_ASENV", secret)
.WithEnvironment("DOCKER_BUILDKIT", "1");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need this here or in the MSBuild file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set it here to have it close to where it is needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have it in both places?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is set for tests running on the build machine (note to self: can be dropped now), and for basictests on helix.


#if !SKIP_DASHBOARD_REFERENCE
// This project is only added in playground projects to support development/debugging
Expand Down