makkus/docker-seafile

ERROR: Service 'data' failed to build: lstat ids.lst: no such file or directory

Closed this issue · 1 comments

jbq commented

Hi, thanks for providing the Seafile Docker container.

I'm trying to build the container, and copied the nginx example. When running docker-compose up -d here is an error output:

WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release. 

WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release. 

Building data
Step 1 : FROM phusion/baseimage:0.9.16
0.9.16: Pulling from phusion/baseimage
a3ed95caeb02: Pull complete
3b1d42cd9af9: Pull complete
d2ff49536f4d: Pull complete
f94adccdbb9c: Pull complete
ae857e8dd13c: Pull complete
327565847940: Pull complete
Digest: sha256:f55d261778d83def4a60d38939511cbed0268fcb91383c9e3edf2877ced289d9
Status: Downloaded newer image for phusion/baseimage:0.9.16
 ---> bc823ab974aa
Step 2 : CMD /sbin/my_init
 ---> Running in 861cfad6710b
 ---> e2e276c3a74c
Removing intermediate container 861cfad6710b
Step 3 : ADD ids.lst /tmp/ids.lst
ERROR: Service 'data' failed to build: lstat ids.lst: no such file or directory

I guess it's because the ADD ids.lst /tmp/ids.lst instruction which takes this file from the current build directory of every container. May I suggest to add some sort of Makefile that would first copy this file to every directory that needs it?

jbq commented

My bad I had to run first-time-setup.sh first