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

Docker Image won't create due to conda's environment.yml inconsistencies #25

Open
rock-it-with-asher opened this issue May 11, 2019 · 0 comments

Comments

@rock-it-with-asher
Copy link

rock-it-with-asher commented May 11, 2019

when executing docker-compose up from my Macbook Pro, DockerFile would fail on step 26/35 for non satisfied libs for numpy=1.13.0 dep. (blas,mkl etc.)

so I made some modifications to make it work:
environment.yml

  • under channels section I added - https://conda.anaconda.org/conda-forge/ to be the last url.

  • under dependencies add - blas on top of others. and removed - matplotlib since for some reason it freeazed the process.

Dockerfile

  • change Anaconda2*.sh file to latest Anaconda2*.sh`

  • change:
    RUN conda env create -f /root/sac/environment.yml \ && conda env update
    to:
    RUN conda env create -n sac
    RUN conda env update
    RUN conda export -f /root/sac/environment.yml

I believe this will save someone's time in future and strongly suggest to test and commit those changes @haarnoja

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

1 participant