deep-image-prior icon indicating copy to clipboard operation
deep-image-prior copied to clipboard

Dockerfile does not seem to build successfully

Open entmike opened this issue 4 years ago • 4 comments

When trying to build, I get a failure on step 7:

root@Tower:/mnt/user/Projects/deep-image-prior# docker build -t deep-image-prior .
...
Step 7/11 : RUN conda env update -n=root --file=environment.yml
 ---> Running in 97a66ffb8dc0
/bin/sh: 1: conda: not found
The command '/bin/sh -c conda env update -n=root --file=environment.yml' returned a non-zero code: 127

entmike avatar Sep 22 '20 14:09 entmike

I have the same issue. Did you find a solution?

millerg avatar Oct 07 '20 12:10 millerg

Miniconda seems to have been moved and the Dockerfile curl command wont follow 301 or 302 redirects by default.

If you edit the Dockerfile and add a -L into the curl command this error will be resolved. I get breakage later on though with python dependency issues. Let me know if you manage to get it built.

e.g.

RUN curl -L -o Miniconda3-latest-Linux-x86_64.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh

fibble avatar Nov 17 '20 19:11 fibble

Got it building and working with a couple of minor tweaks. Ill raise a PR but its on this branch:

https://github.com/fibble/deep-image-prior/tree/dockerfile-fixes

fibble avatar Nov 17 '20 22:11 fibble

Got it building and working with a couple of minor tweaks. Ill raise a PR but its on this branch:

https://github.com/fibble/deep-image-prior/tree/dockerfile-fixes

seems not fix the problem

davyfeng avatar Jan 18 '21 13:01 davyfeng