-
Notifications
You must be signed in to change notification settings - Fork 787
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
history: only add proxy vars to history if specified
`Buildkit/Docker` only adds whitelisted variables for e.g `proxy variables` to history only if user explicitly specifies them in Dockerfile using `ARG`. By default pre-whitelisted variables e.g `proxy variables` will be used normally but will not be leaked into `docker/OCI` history of images. A test for following behviour is added with this commit and similar test can be verified against `Docker/Buildkit` Signed-off-by: Aditya R <[email protected]>
- Loading branch information
Showing
2 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters