Skip to content

Instantly share code, notes, and snippets.

@ellismarte
Last active August 17, 2016 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ellismarte/db5f0ef0cc0ba7dc68678baec8da8914 to your computer and use it in GitHub Desktop.
Save ellismarte/db5f0ef0cc0ba7dc68678baec8da8914 to your computer and use it in GitHub Desktop.
FROM ubuntu:14.04
MAINTAINER wrkrcoop
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get install -y git \
&& apt-get install -y curl \
&& apt-get install -y software-properties-common
RUN apt-get update \
&& apt-get upgrade -y \
&& add-apt-repository ppa:fkrull/deadsnakes \
&& apt-get update \
&& apt-get install -y python2.7 \
&& apt-get install -y python-pip \
&& pip freeze | grep protobuf \
&& pip install asciitree \
&& pip install numpy
RUN apt-get update \
&& echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
&& add-apt-repository -y ppa:webupd8team/java \
&& apt-get update \
&& apt-get install -y oracle-java8-installer \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/cache/oracle-jdk8-installer
RUN apt-get update \
&& echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list \
&& curl https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg | sudo apt-key add - \
&& apt-get update \
&& apt-get install -y bazel \
&& apt-get upgrade bazel
RUN apt-get update \
&& apt-get install -y swig
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-JZv1Yr-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/numpy
Storing debug log for failure in /root/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment