Skip to content

Instantly share code, notes, and snippets.

@p-geon
Last active August 11, 2018 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p-geon/9a002469267c71c27d3832fc8c75232b to your computer and use it in GitHub Desktop.
Save p-geon/9a002469267c71c27d3832fc8c75232b to your computer and use it in GitHub Desktop.
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"]
@p-geon
Copy link
Author

p-geon commented Aug 11, 2018

jupyter とかそのへんも後で追記する

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment