From c8fe49837be1f3e890f7bcbd0511be71d5e002dd Mon Sep 17 00:00:00 2001 From: Your Name <you@example.com> Date: Thu, 4 Jun 2020 01:48:18 -0700 Subject: [PATCH] rename --- Dockerfile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100755 index 0000000..2416acd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,50 @@ +FROM mxnet/python + +WORKDIR /userdata/kerasData/mxnet + +# Install system packages +RUN apt-get update && apt-get install -y --no-install-recommends \ + bzip2 \ + g++ \ + git \ + graphviz \ + libgl1-mesa-glx \ + libhdf5-dev \ + sudo\ + openmpi-bin \ + xvfb \ + screen \ + wget && \ + rm -rf /var/lib/apt/lists/* + + +# Install conda +ENV CONDA_DIR /opt/conda +ENV PATH $CONDA_DIR/bin:$PATH + +RUN wget --quiet --no-check-certificate https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh && \ + echo "c59b3dd3cad550ac7596e0d599b91e75d88826db132e4146030ef471bb434e9a *Miniconda3-4.2.12-Linux-x86_64.sh" | sha256sum -c - && \ + /bin/bash /Miniconda3-4.2.12-Linux-x86_64.sh -f -b -p $CONDA_DIR && \ + rm Miniconda3-4.2.12-Linux-x86_64.sh && \ + echo export PATH=$CONDA_DIR/bin:'$PATH' > /etc/profile.d/conda.sh + +ARG python_version=3.5.2 + +RUN conda config --append channels conda-forge + +RUN conda install \ + bcolz \ + h5py \ + matplotlib \ + mkl \ + nose \ + notebook \ + Pillow \ + pandas \ + pydot \ + pygpu \ + pyyaml \ + scikit-learn \ + six \ + theano \ + mkdocs \ -- GitLab