docker-laravel icon indicating copy to clipboard operation
docker-laravel copied to clipboard

/bin/sh: 1: /provision/provision.sh: not found

Open hopewise opened this issue 9 years ago • 1 comments

When I build the image, I get this error on Windows 10:

$ docker build -t samir/laravel .
Sending build context to Docker daemon 62.49 MB
Step 1 : FROM sameersbn/postgresql:9.4-12
 ---> d95a00f9aced
Step 2 : MAINTAINER Mark Macdonald <[email protected]>
 ---> Using cache
 ---> de86df3ac2d7
Step 3 : ENV HOME /root
 ---> Using cache
 ---> a3ab158f5690
Step 4 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 5ed19edeaec8
Step 5 : CMD /usr/local/bin/supervisord -c /etc/supervisord.conf
 ---> Using cache
 ---> d325b24e37e5
Step 6 : RUN mkdir /provision
 ---> Using cache
 ---> 95e3e725b1ed
Step 7 : ADD provision /provision
 ---> Using cache
 ---> d8fa0e36b6b5
Step 8 : RUN /provision/provision.sh
 ---> Running in 2f419596a0b5
/bin/sh: 1: /provision/provision.sh: not found
SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.
The command '/bin/sh -c /provision/provision.sh' returned a non-zero code: 127

hopewise avatar Feb 20 '16 11:02 hopewise

I got this same thing

damienwebdev avatar Nov 18 '16 17:11 damienwebdev