Skip to content

Instantly share code, notes, and snippets.

@ShvedAction
Created March 20, 2018 20:19
Show Gist options
  • Save ShvedAction/c4abd8a3b7d2bccc24b9069644c6875f to your computer and use it in GitHub Desktop.
Save ShvedAction/c4abd8a3b7d2bccc24b9069644c6875f to your computer and use it in GitHub Desktop.
ml docker
FROM ubuntu
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y build-essential cmake gfortran git pkg-config
RUN apt-get install -y python-dev software-properties-common wget vim
RUN apt-get autoremove -y
RUN apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler libopencv-dev
RUN apt-get install -y --no-install-recommends libboost-all-dev doxygen
RUN apt-get install -y libgflags-dev libgoogle-glog-dev liblmdb-dev libblas-dev
RUN apt-get install -y libatlas-base-dev libopenblas-dev libgphoto2-dev libeigen3-dev libhdf5-dev
RUN apt-get install -y python3-dev python3-pip python3-nose python3-numpy python3-scipy
RUN pip3 install tensorflow==1.1.0
RUN pip3 install dlib keras Theano
RUN pip3 install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp35-cp35m-manylinux1_x86_64.whl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment