I used "exec"  method and still i couldn't able to make CMD run, i replaced 
that with CMD [\"touch\", \"/tmp/environment\"]" but alas no effect.

"builders":[{
        "type": "docker",
        "name": "image_with_tomcat",
        "image": "{{user `base_image`}}",
        "commit": true,
        "pull": true,
        "changes": [
                "CMD [\"source\", \"/etc/environment\"]",
                "ENTRYPOINT [\"/usr/local/tomcat/bin/catalina.sh 
\",\"start\"]"
            ]
    }],
I saw the question here https://github.com/hashicorp/packer/issues/4914  , 
I actually didn't get what mikeroll said. Is this issue with docker commit.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/05149cf7-748e-4803-b91c-a8dcfcf17546%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to