DmitryUlyanov / deep-image-prior

Image restoration with neural networks but without learning.

Home Page:https://dmitryulyanov.github.io/deep_image_prior

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerfile does not seem to build successfully

entmike opened this issue · 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

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

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

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

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