Closed eshantandon closed 5 years ago
Hi, do you use -f ubuntu/Dockerfile
for the docker build command?
Yes.
This is the error I get on the CI/CD: [17:57:11][Step 3/4] COPY failed: stat /var/lib/docker/tmp/docker-builder709805828/run-docker.sh: no such file or directory [17:57:11][Step 3/4] ---> 82978ec795db [17:57:11][Step 3/4] Step 10/11 : COPY run-docker.sh /services/run-docker.sh [17:57:11][Step 3/4] Process exited with code 1 [17:57:11][Step 3/4] Process exited with code 1 (Step: Docker Build (Docker)) [17:57:11][Step 3/4] Step Docker Build (Docker) failed
What value do you use for "Context folder:" parameter?
Its empty, Probably should try ./ ?
I believe .
should work for this case.
Will try that.
That works. Thanks.
Since the shell script referenced while building dockerfile is one level up we are having issues building the docker image. We should probably move run-docker.sh in the ubuntu folder.