2018-10-02 06:20:34 +08:00
|
|
|
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 \
|
2018-10-02 16:58:12 +08:00
|
|
|
libcasa-casa2 casacore-dev casacore-data casacore-tools \
|
|
|
|
mpich \
|
|
|
|
fftw-dev libfftw3-mpi3 libfftw3-bin
|
2018-10-02 06:20:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
## 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
|