Skip to content

Instantly share code, notes, and snippets.

@orotemo
Created January 14, 2016 08:49
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 orotemo/8ccd88adc344c16366cc to your computer and use it in GitHub Desktop.
Save orotemo/8ccd88adc344c16366cc to your computer and use it in GitHub Desktop.
based on erlang/ubuntu 14 - add root and opencv
FROM erlang-ubuntu14
RUN cd /tmp && \
wget \
https://root.cern.ch/download/root_v6.06.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz\
&& tar -zxf root_v6.06.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz -C /usr/local/share
RUN ln -sf /usr/local/share/root/include/ /usr/local/include/root && \
/bin/bash -c "source /usr/local/share/root/bin/thisroot.sh" && \
apt-get -y install python-software-properties && \
apt-get -y install unzip
RUN apt-get -y install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev \
libhdf5-serial-dev protobuf-compiler && \
apt-get -y install --no-install-recommends libboost-all-dev libatlas-dev \
libblas-dev gfortran libatlas-base-dev libgflags-dev libgoogle-glog-dev \
liblmdb-dev
WORKDIR /code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment