Re: [packer] Docker builder with CMD doesn't work

2017-10-20 Thread Rickard von Essen
Could you justify "doesn't work", for example what's the output of "docker inspect "? On 20 October 2017 at 16:10, Raghava Karthik wrote: > I was trying to run a command using CMD along with ENTRYPOINT (entrypoint > works perfectly). > All i want to do is load environment variables "source /etc/

[packer] Docker builder with CMD doesn't work

2017-10-20 Thread Raghava Karthik
I was trying to run a command using CMD along with ENTRYPOINT (entrypoint works perfectly). All i want to do is load environment variables "source /etc/environment". Below packer conf with CMD isn't working. Am i missing something here? "builders":[{ "type": "docker", "name": "i