Created
November 12, 2019 15:47
-
-
Save benman1/50e54153dafbdda390abe1c9f22e6626 to your computer and use it in GitHub Desktop.
anaconda dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM continuumio/miniconda3 | |
RUN apt update -qq && apt install -y libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 build-essential vim curl wget libhdf5-dev | |
RUN useradd -m docker -s /bin/bash -p '*' && chown -R 1000:1000 /opt/conda | |
USER docker | |
RUN conda create -n env python=3.8 && RUN echo "source activate env" > ~/.bashrc | |
ENV PATH /opt/conda/envs/env/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment