Last active
August 11, 2018 03:16
-
-
Save p-geon/9a002469267c71c27d3832fc8c75232b to your computer and use it in GitHub Desktop.
This file contains 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 nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04 | |
# Set anaconda(miniconda) path | |
ENV MINICONDA /opt/miniconda | |
ENV PATH $MINICONDA/bin:$PATH | |
# Download anaconda and install it | |
RUN apt-get update && apt-get install -y wget build-essential | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
build-essential \ | |
cmake \ | |
git \ | |
curl \ | |
ca-certificates | |
# install miniconda | |
ENV CONDAV Miniconda3-4.5.4-Linux-x86_64.sh | |
RUN wget https://repo.continuum.io/miniconda/$CONDAV -P /tmp | |
RUN bash /tmp/$CONDAV -b -p $MINICONDA | |
RUN rm /tmp/$CONDAV -rf | |
# python settings | |
RUN conda install -y -c anaconda pip tensorflow-gpu==1.6.0 | |
RUN pip install tensorboard keras | |
RUN pip install scikit-image pandas tqdm | |
RUN conda install -y -c menpo opencv3 | |
RUN apt-get update && apt-get install -y --no-install-recommends libgtk2.0-dev | |
EXPOSE 8888 6006 | |
WORKDIR /tmp | |
RUN ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jupyter とかそのへんも後で追記する