FROM nvidia/cuda:7.5-cudnn4-devel
ENV CONDA_DIR /opt/conda ENV PATH $CONDA_DIR/bin:$PATH
RUN mkdir -p $CONDA_DIR &&
echo export PATH=$CONDA_DIR/bin:'$PATH' > /etc/profile.d/conda.sh &&
apt-get update &&
apt-get install -y wget git libhdf5-dev g++ graphviz &&
wget --quiet https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh &&
/bin/bash /Miniconda2-latest-Linux-x86_64.sh -f -b -p $CONDA_DIR &&
rm Miniconda2-latest-Linux-x86_64.sh
#ENV NB_USER keras #ENV NB_UID 1000
#RUN useradd -m -s /bin/bash -N -u $NB_UID $NB_USER && \
#USER keras
ARG python_version=2.7
RUN conda install -y python=${python_version} RUN pip install ipdb pytest pytest-cov python-coveralls coverage pytest-xdist pep8 pytest-pep8 pydot_ng RUN conda install -y Pillow scikit-learn notebook pandas matplotlib nose pyyaml six h5py anaconda anaconda-client seaborn joblib basemap RUN conda install -y pysal shapely fiona six pyproj RUN conda install -y -c conda-forge geopandas
RUN apt-get update && apt-get install -y nodejs npm
ARG tensorflow_version=0.10.0rc0-cp27-none RUN pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-${tensorflow_version}-linux_x86_64.whl
RUN pip install git+git://github.com/Theano/Theano.git
RUN pip install git+git://github.com/fchollet/keras.git
RUN pip install git+https://github.com/tflearn/tflearn.git
RUN git clone --recursive https://github.com/dmlc/xgboost /root/xgboost &&
cd /root/xgboost && make -j
RUN cd /root/xgboost/python-package && python setup.py install
RUN conda clean -yt
RUN pip install jupyterlab RUN jupyter serverextension enable --py jupyterlab #RUN git clone https://github.com/jupyter/jupyterlab.git /root/jupyterlab #RUN cd /root/jupyterlab && npm install #RUN cd /root/jupyterlab && pip install . #RUN jupyter serverextension enable --py jupyterlab
RUN conda install -y statsmodels cloudpickle dill numba bokeh h5py RUN conda install -y dask -c conda-forge RUN pip install git+https://github.com/maxpumperla/hyperas.git #pip install git+https://github.com/hyperopt/hyperopt.git #RUN pip install hyperas #RUN conda install -y -c conda-forge cherrypy RUN pip install cherrypy RUN echo "lol" RUN git clone https://github.com/aetros/aetros-cli.git /root/aetros && cd /root/aetros && python setup.py install
ADD theanorc /root/.theanorc
CMD jupyter notebook --port=8888 --ip=0.0.0.0
COPY jupyter_notebook_config.py /root/.jupyter/
COPY run_jupyter.sh /root/
EXPOSE 6006 8888
WORKDIR "/root" CMD ["/bin/bash"]
Content type
Image
Digest
Size
3.4 GB
Last updated
about 10 years ago
docker pull daemonix/kerasm0spy2