mtmacdonald / docker-laravel

A Docker container for Laravel web apps
MIT License
122 stars 33 forks source link

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

Open hopewise opened 8 years ago

hopewise commented 8 years ago

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 <mark.t.macdonald@googlemail.com>
 ---> 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
damienwebdev commented 7 years ago

I got this same thing