8000 Docker Image won't create due to conda's environment.yml inconsistencies · Issue #25 · haarnoja/sac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Docker Image won't create due to conda's environment.yml inconsistencies #25
Open
@rock-it-with-asher

Description

@rock-it-with-asher

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0