Skip to content
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

Support building Dockerfiles that mount secrets as environment variables #5892

Open
carles-garcia opened this issue Dec 26, 2024 · 2 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@carles-garcia
Copy link

carles-garcia commented Dec 26, 2024

Feature request description

Since Dockerfile 1.10 the Docker Engine can mount secrets as environment variables specified in the RUN command.

https://docs.docker.com/build/buildkit/dockerfile-release-notes/#1100

https://docs.docker.com/reference/dockerfile/#example-mount-as-environment-variable

It would be useful for podman build to support it. It's already possible using podman run.

@carles-garcia carles-garcia added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 26, 2024
@rhatdan rhatdan transferred this issue from containers/podman Jan 2, 2025
@rhatdan
Copy link
Member

rhatdan commented Jan 2, 2025

@flouthoc any chance you could look at this?

@flouthoc
Copy link
Collaborator

flouthoc commented Jan 6, 2025

I'll take a look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants