

This command will copy the file /wso2telcohub-4.0.0-SNAPSHOT from the "host machine", the machine where the docker image is being built, into the image at the location /home/myfolder/dockerprojects/IGW/dockerCI. #copy the zip file to docker folderĬOPY /wso2telcohub-4.0.0-SNAPSHOT /home/myfolder/dockerprojects/IGW/dockerCI This is important because all other commands durring the build and when the container is started will be relative to this location in the file structure. This command sets the workdir inside the docker image, so that when the container starts, the sessions PWD will be set to /dockerprojects. Without a specific tag, the FROM instruction will look for the latest tag, in this case the find the image ubuntu:latest for you. If you intend to use the ubuntu:16.04 image, you need to specify it. I will comment on them one by one here: #Download base image ubuntu 16.04

There are a bunch of things in that Dockerfile that potentially can go sideways.
