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 #24906

Open
carles-garcia opened this issue Dec 26, 2024 · 0 comments
Open
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
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

1 participant