docker icon indicating copy to clipboard operation
docker copied to clipboard

fpm-alpine FULL - Dockerfile build fails on Step 5 - "Copy supervisord.conf"

Open james-cook opened this issue 5 years ago • 3 comments

From: https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/full/fpm-alpine/Dockerfile today.

Tail end of Dockerfile is:

COPY supervisord.conf /

ENV NEXTCLOUD_UPDATE=1

CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

Build reports:

COPY failed: stat /var/lib/docker/tmp/docker-builder167487155/supervisord.conf: no such file or directory, logs:

james-cook avatar Jan 15 '20 12:01 james-cook

I cannot reproduce with the most recent image.

J0WI avatar Jan 16 '20 18:01 J0WI

To me this looks like there is no supervisord.conf file in the directory where your Dockerfile is located

tilosp avatar Jan 17 '20 12:01 tilosp

I got the same Docker build error when I forgot to actually do what @tilosp recommends. Seems safe to close this issue unless we want to make it one about improving https://github.com/nextcloud/docker/blob/master/.examples/README.md

meonkeys avatar Aug 26 '22 23:08 meonkeys