Skip to content

Instantly share code, notes, and snippets.

@thelimeburner
Created July 17, 2018 18:18
Show Gist options
  • Select an option

  • Save thelimeburner/558f635535f64bff3e2c24e5af3e9ca6 to your computer and use it in GitHub Desktop.

Select an option

Save thelimeburner/558f635535f64bff3e2c24e5af3e9ca6 to your computer and use it in GitHub Desktop.
Trying to install tensorflow on docker
FROM arm64v8/ubuntu:16.04
#FROM thelimeburner/debian_base_arm64v8
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
build-essential \
libopenblas-dev \
wget \
git \
automake \
cmake \
pkg-config \
python3-numpy \
python3-wheel \
python3-pip \
unzip \
curl
# Configure environment
#ENV CONDA_DIR /opt/conda
#ENV PATH $CONDA_DIR/bin:$PATH
#RUN cd /tmp && \
# mkdir -p $CONDA_DIR && \
# wget --quiet https://repo.continuum.io/miniconda/Miniconda3-4.3.21-Linux-x86_64.sh && \
# /bin/bash Miniconda3-4.3.21-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
# rm Miniconda3-4.3.21-Linux-x86_64.sh && \
# $CONDA_DIR/bin/conda install --quiet --yes conda==4.3.21 && \
# $CONDA_DIR/bin/conda config --system --add channels conda-forge && \
# $CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
# conda clean -tipsy
RUN pip3 install setuptools
RUN apt install -y libpng12-dev libfreetype6-dev pkg-config
RUN apt install -y python3-dev
RUN pip3 install --upgrade pip3
#RUN pip3 install pkg-config
RUN pip3 install \
cython
RUN pip3 install \
pillow
RUN pip3 install \
scipy
RUN pip3 install \
matplotlib \
pandas
RUN pip3 install \
h5py \
tqdm
RUN pip3 install tensorflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment