-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(initrd): Support Dockerfile secrets, targets and build arguments
This commit introduces support to passing build-time arguments, secrets and defining the target when perfoming constructions via buildkit. The following subcommands: - `kraft build` - `kraft cloud compose build` - `kraft cloud compose up` - `kraft cloud deploy` - `kraft compose build` - `kraft compose up` - `kraft pkg` Now have the following new configurable flags: - `--build-arg` - `--build-target` - `--build-secret` Additionally, support for the an SSH auth socket is provided which can be set at the environmental variable `KRAFTKIT_BUILDKIT_SSH_AGENT` (priority) or using the default `SSH_AUTH_SOCK`. Signed-off-by: Alexander Jung <alex@unikraft.io>
- Loading branch information
Showing
2 changed files
with
180 additions
and
10 deletions.
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