board
board copied to clipboard
Docker installation fails at Step 13: COPY docker-entrypoint.sh /
I am following instructions on getting up and running Restya board with docker. I receive the following error at Step 13 of Dockerfile
Step 13 : COPY docker-entrypoint.sh /
ERROR: Service 'restyaboard' failed to build: stat /var/lib/docker/aufs/mnt/0d56f82e541370adcee20f68d656fdf50dc6a611688d6a26e7af5134dbb432f7/docker-entrypoint.sh: no such file or directory
I tried on another server and it worked, not sure what was the problem
I have the same problem ... this is so weird ... the file is in the directory ...
dockerrestyaboard_data_1 is up-to-date
dockerrestyaboard_elasticsearch_1 is up-to-date
dockerrestyaboard_postgres_1 is up-to-date
Building restyaboard
Step 1 : FROM debian:wheezy-backports
---> 3ae9a2fdb985
Step 2 : ARG TERM=linux
---> Using cache
---> d7c8819265f1
Step 3 : ARG DEBIAN_FRONTEND=noninteractive
---> Using cache
---> 4cb13e64f580
Step 4 : ENV restyaboard_version v0.2.1
---> Using cache
---> e9ebdbc322b9
Step 5 : RUN apt-get update --yes
---> Using cache
---> 9cc2312f2561
Step 6 : RUN apt-get install --yes zip curl cron postgresql nginx
---> Using cache
---> 6e4e5aa28d9b
Step 7 : RUN apt-get install --yes php5 php5-fpm php5-curl php5-pgsql php5-imagick libapache2-mod-php5
---> Using cache
---> 45737c0c06a7
Step 8 : RUN echo "postfix postfix/mailname string example.com" | debconf-set-selections && echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections && apt-get install -y postfix
---> Using cache
---> 98624d95e2d8
Step 9 : RUN curl -L -o /tmp/restyaboard.zip https://github.com/RestyaPlatform/board/releases/download/${restyaboard_version}/board-${restyaboard_version}.zip && unzip /tmp/restyaboard.zip -d /usr/share/nginx/html && rm /tmp/restyaboard.zip
---> Using cache
---> 37555b8a6594
Step 10 : WORKDIR /usr/share/nginx/html
---> Using cache
---> 8e5c2746916f
Step 11 : RUN cp -R media /tmp/ && cp restyaboard.conf /etc/nginx/conf.d && sed -i 's/^.*listen.mode = 0660$/listen.mode = 0660/' /etc/php5/fpm/pool.d/www.conf && sed -i 's|^.*fastcgi_pass.*$|fastcgi_pass unix:/var/run/php5-fpm.sock;|' /etc/nginx/conf.d/restyaboard.conf && sed -i -e "/fastcgi_pass/a fastcgi_param HTTPS 'off';" /etc/nginx/conf.d/restyaboard.conf
---> Using cache
---> 9057984201ef
Step 12 : VOLUME /usr/share/nginx/html/media
---> Using cache
---> ced05c4f572a
Step 13 : COPY docker-entrypoint.sh /
ERROR: Service 'restyaboard' failed to build: stat /var/lib/docker/aufs/mnt/5c8be6f44eda1d4debd2ee74a084a41ed09475449f33bfb69bb56ce9f425ec54/docker-entrypoint.sh: no such file or directory