INSaFLU / docker

Easy installation for INSaFLU made by docker
7 stars 6 forks source link

Docker image wont build #3

Open philt31 opened 3 years ago

philt31 commented 3 years ago

I'm getting the following error when i try and build the docker image. any ideas why?

=> [126/148] WORKDIR /software 0.2s => [127/148] RUN chown -R flu_user:flu_user 27.9s => [128/148] RUN rm -rf /var/lib/apt/lists/ 1.2s => [129/148] WORKDIR /software 0.1s => ERROR [130/148] RUN wget https://github.com/ZekunYin/RabbitQC/archive/v0.0.1.zip; unzip v0.0.1.zip; rm -f v0.0.1.zip; mv RabbitQC-0.0.1/ RabbitQC; 0.0s

[130/148] RUN wget https://github.com/ZekunYin/RabbitQC/archive/v0.0.1.zip; unzip v0.0.1.zip; rm -f v0.0.1.zip; mv RabbitQC-0.0.1/ RabbitQC;:

failed to prepare jrlhopk9ibu9yx89rlgobcoco: max depth exceeded ERROR: Service 'insaflu-server' failed to build

monsanto-pinheiro commented 3 years ago

Try it again please, it could be some problem with github connection. In this case, there are several commands in a row it's difficult to identify the main cause. $ ./build.sh

AntonioRezende commented 2 years ago

Hello, I'm having the same issue, and I don't think it is problem with github connection as I tried to run the command which returned the error manually and it worked. Do you know what is happening? Thank you.

dsobral commented 2 years ago

Is the error also in the same step as reported above? (RabbitQC)?

Due to the existence of many steps of external software installation, sometimes one of the steps may break due to momentary access errors (eg. the mauve website was down some time ago, conda or github may have occasional glitches).

When this happens, retrying usually works.

I'll try to install INSaFLU docker to see if I also get an error.

Thanks

AntonioRezende commented 2 years ago

The error is in the same step (RabbitQC). I tried with different internet connections and no success. It seems the error is related to way the Dockerfile is built (https://bobcares.com/blog/docker-max-depth-exceeded/). But I am not expert in Docker and by now I haven't been able to fix it. Thanks!

monsanto-pinheiro commented 2 years ago

Hello, Please, can you put the result of the following commands in the thread? $ docker images $ docker container ls

AntonioRezende commented 2 years ago

Hello, I have empty results for both commands as in one of my trials to install the system I typed $ docker system prune -a Thanks.

dsobral commented 2 years ago

I have reduced the number of layers in the Dockerfile. This should hopefully solve this issue. Please pull the new version and rerun.

Thank You