Dockerfile support for ENVFILE ./.env?
duplicates / duplicated by: - https://github.com/moby/moby/issues/7688 - https://github.com/moby/moby/issues/28617 Looked around a bunch but can't find how to do this: ``` ENVFILE ./env ``` If that's not possible, is there a workaround to build a docker image that will contain all those environment variables when run? I see that there's a way to do it when you start a container with docker-run, but I'd like to be able to do it when I build the image.
Posted by matthewmueller on Nov 19, 2016, 5:59 AM
Tags
Related issues
- Add 65536 size support for maps
- TypeScript 7.1 Iteration Plan
- nvim-treeconfig: upstream nvim-treesitter
- Add the "action" and "method" attributes to <button>
- [FEATURE] Support multiple Connector accounts (same connector, different accounts) in Claude and Claude Code on the web (claude.ai/code)
- > We were imposed GitHub for so many exercises!
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
support (Software)
Add 65536 size support for maps
TypeScript 7.1 Iteration Plan
nvim-treeconfig: upstream nvim-treesitter
Add the "action" and "method" attributes to <button>
[FEATURE] Support multiple Connector accounts (same connector, different accounts) in Claude and Claude Code on the web (claude.ai/code)
> We were imposed GitHub for so many exercises!
Add support for Visual Studio 2026 Integration
Support for Helm v4
Dockerfile support for ENVFILE ./.env?
duplicates / duplicated by: - https://github.com/moby/moby/issues/7688 - https://github.com/moby/moby/issues/28617 Looked around a bunch but can't find how to do this: ``` ENVFILE ./env ``` If that's not possible, is there a workaround to build a docker image that will contain all those environment variables when run? I see that there's a way to do it when you start a container with docker-run, but I'd like to be able to do it when I build the image.
Comments (0)
No comments yet. Start the discussion.