Dockerfile install miniconda:
?
RUN apt-get update
RUN apt-get install -y wget gcc g++
RUN apt-get install -y gnupg
RUN wget https://repo.anaconda.com/miniconda/Miniconda-3.6.0-Linux-x86_64.sh \
?&& bash ?Miniconda-3.6.0-Linux-x86_64.sh -b -p /miniconda \
?&& rm Miniconda-3.6.0-Linux-x86_64.sh
ENV PATH=/miniconda/bin:$PATH
RUN conda create -n py3 python=3.6.0 pip --yes
RUN /bin/bash -c ". activate py3 && pip install tensorflow-gpu numpy pillow requests"
ENV PATH=/miniconda/envs/py3/bin:$PATH