Closed hopewise closed 8 years ago
I tried building Dockerfile on windows 10 with no problems.. But when I tried to build in on Mac OS Capitan, I got this error:
Step 8 : RUN /provision/provision.sh ---> Running in e08680f71aa2 /bin/sh: 1: /provision/provision.sh: Permission denied
I tried to add chmod +x
RUN chmod +x /provision/provision.sh
I could build the Dockerfile, but actually provision.sh was not executed.. so nothing was provisioned.. What do you advice?
Oh, I found the solution, its just to:
$ chmod +x ./provision/provision.sh
So, no need to add chmod +x after RUN in Dockerfile
I tried building Dockerfile on windows 10 with no problems.. But when I tried to build in on Mac OS Capitan, I got this error:
I tried to add chmod +x
I could build the Dockerfile, but actually provision.sh was not executed.. so nothing was provisioned.. What do you advice?