FROM nvidia/cuda:8.0-runtime
RUN apt-get update
ARG DEBIAN_FRONTEND=noninteractive RUN apt-get install -y --no-install-recommends apt-utils
RUN apt-get install -y --no-install-recommends git curl vim unzip openssh-client wget
RUN apt-get install -y --no-install-recommends build-essential cmake
RUN apt-get install -y --no-install-recommends libopenblas-dev
RUN apt-get install -y --no-install-recommends python3.5 python3.5-dev python3-pip RUN pip3 install --no-cache-dir --upgrade pip setuptools RUN echo "alias python='python3'" >> /root/.bash_aliases RUN echo "alias pip='pip3'" >> /root/.bash_aliases
RUN apt-get install -y --no-install-recommends libjpeg-dev zlib1g-dev RUN pip3 --no-cache-dir install Pillow
RUN pip3 --no-cache-dir install
numpy scipy sklearn scikit-image pandas matplotlib requests
RUN pip3 --no-cache-dir install Cython
RUN pip3 --no-cache-dir install jupyter
RUN mkdir /root/.jupyter
RUN echo "c.NotebookApp.ip = '*'"
"\nc.NotebookApp.open_browser = False"
"\nc.NotebookApp.token = ''"
> /root/.jupyter/jupyter_notebook_config.py
EXPOSE 8888
RUN pip3 install --no-cache-dir --upgrade tensorflow-gpu
EXPOSE 6006
RUN apt-get install -y --no-install-recommends
libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libgtk2.0-dev
liblapacke-dev checkinstall
RUN git clone -b 3.2.0 --depth 1 https://github.com/opencv/opencv.git /usr/local/src/opencv
RUN cd /usr/local/src/opencv && mkdir build && cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr/local
-D BUILD_TESTS=OFF
-D BUILD_PERF_TESTS=OFF
-D PYTHON_DEFAULT_EXECUTABLE=$(which python3)
.. &&
make -j"$(nproc)" &&
make install
RUN pip3 install --no-cache-dir --upgrade h5py pydot_ng keras
RUN pip3 install --no-cache-dir git+https://github.com/waleedka/coco.git#subdirectory=PythonAPI
RUN apt-get clean &&
apt-get autoremove
WORKDIR "/root" CMD ["/bin/bash"]
Content type
Image
Digest
Size
1.7 GB
Last updated
almost 9 years ago
docker pull yd8534976/aidenml