Skip to content

Add --secret parameter to support docker build --secret #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seanly
Copy link

@seanly seanly commented Jun 21, 2023

Usage:

dapper -m bind --secret id=settings,src=$HOME/.m2/settings.xml 

Signed-off-by: seanly liu <[email protected]>
@@ -40,6 +40,7 @@ type Dapperfile struct {
NoContext bool
MountSuffix string
Target string
Secret string
Copy link

Choose a reason for hiding this comment

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

Multiple secrets should be allowed, so this should be a slice of strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants