Skip to content

Support building Dockerfiles that mount secrets as environment variables #5892

Open
@carles-garcia

Description

@carles-garcia

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.

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.stale-issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions