sagecal/Docker/ubuntu1604-test/Dockerfile

27 lines
761 B
Docker
Raw Normal View History

FROM ubuntu:xenial
MAINTAINER f.diblen@esciencecenter.nl
RUN apt-get update -y && \
apt-get install software-properties-common -y && \
add-apt-repository -s ppa:kernsuite/kern-3 -y && \
apt-add-repository multiverse && \
apt-get update -y
RUN apt-get install -y \
git cmake g++ pkg-config \
libcfitsio-bin libcfitsio-dev \
libopenblas-base libopenblas-dev \
wcslib-dev wcslib-tools \
libglib2.0-dev \
libcasa-casa2 casacore-dev casacore-data casacore-tools
## compile sagecal
#RUN mkdir /build && cd /build \
# mkdir build-ubuntu && cd build-ubuntu && \
# cmake .. -DCMAKE_INSTALL_PREFIX=/opt/sagecal && \
# make -j4 && \
# make install && \
# ls -alsrt /opt/sagecal && \
# /opt/sagecal/bin/sagecal