I try to build an image. On my Dockerfile I have this line:
COPY install /tmp/install
My script install
of course exist on the current folder where I launch the command docker build
This instruction works well with the previous version of Docker but with the latest it generate this error:
Step 2/10 : COPY install /tmp/install
COPY failed: stat /var/lib/docker/tmp/docker-builder291568035/install: no such file or directory
I also try:
COPY ./install /tmp/install
COPY install /tmp/
Nothing works
My version of docker:
$ docker version
Client:
Version: 17.06.1-ce
API version: 1.30
Go version: go1.8.3
Git commit: 874a737
Built: Thu Aug 17 22:53:38 2017
OS/Arch: darwin/amd64
Server:
Version: 17.06.1-ce
API version: 1.30 (minimum version 1.12)
Go version: go1.8.3
Git commit: 874a737
Built: Thu Aug 17 22:54:55 2017
OS/Arch: linux/amd64
Experimental: false
My macOS Version:
macOS Sierra 10.12.6 (16G29)