Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile does not seem to build successfully #83

Open
entmike opened this issue Sep 22, 2020 · 4 comments
Open

Dockerfile does not seem to build successfully #83

entmike opened this issue Sep 22, 2020 · 4 comments

Comments

@entmike
Copy link

entmike commented Sep 22, 2020

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
@millerg
Copy link

millerg commented Oct 7, 2020

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

@fibble
Copy link

fibble commented Nov 17, 2020

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
Copy link

fibble commented Nov 17, 2020

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

@davyfeng
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants