└── Dockerfile /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM kmubigdata/ubuntu-1604 2 | 3 | MAINTAINER kmubigdata 4 | 5 | # Installing Tensorflow dependencies 6 | RUN apt-get update && apt-get install -y --no-install-recommends \ 7 | build-essential \ 8 | curl \ 9 | libfreetype6-dev \ 10 | libpng12-dev \ 11 | libzmq3-dev \ 12 | pkg-config \ 13 | python \ 14 | python-dev \ 15 | rsync \ 16 | software-properties-common \ 17 | unzip \ 18 | && \ 19 | apt-get clean && \ 20 | rm -rf /var/lib/apt/lists/* 21 | 22 | RUN curl -O https://bootstrap.pypa.io/get-pip.py && \ 23 | python get-pip.py && \ 24 | rm get-pip.py 25 | 26 | RUN pip --no-cache-dir install \ 27 | ipykernel \ 28 | jupyter \ 29 | matplotlib \ 30 | numpy \ 31 | scipy \ 32 | sklearn \ 33 | pandas \ 34 | Pillow \ 35 | && \ 36 | python -m ipykernel.kernelspec 37 | 38 | RUN pip install tensorflow 39 | 40 | # TensorBoard 41 | EXPOSE 6006 42 | # IPython 43 | EXPOSE 8888 44 | --------------------------------------------------------------------------------