docker
docker copied to clipboard
Provide build-time argument with docker_image resource
This may be a feature request, rather than a bug. Is it possible to provide a build time argument with the docker_image resource? Thus making it analogous to the command: docker build --build-arg ENVIRONMENT=production -f dockerfiles/Dockerfile .
Cookbook version
2.13.10
Chef-client version
12.5.1
Platform Details
Ubuntu 14.04.5 LTS
Scenario:
Trying to copy specific files into a configuration directory based on the environment being set up, i.e. production, integration, test, etc.
Absolutely. That's one of the things that showed up in the API after the initial resource implementation. Should be straight forward to implement.
On Feb 17, 2017, at 2:38 PM, Justin F. [email protected] wrote:
This may be a feature request, rather than a bug. Is it possible to provide a build time argument with the docker_image resource? Thus making it analogous to the command: docker build --build-arg ENVIRONMENT=production -f dockerfiles/Dockerfile .
Cookbook version
2.13.10
Chef-client version
12.5.1
Platform Details
Ubuntu 14.04.5 LTS
Scenario:
Trying to copy specific files into a configuration directory based on the environment being set up, i.e. production, integration, test, etc.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
+1 really useful feature
i will have a look into implementation