Skip to content
Snippets Groups Projects
Commit 198d16f2 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

SSB-47: include dockerfile with the base packages needed to run the holography package

parent ec95f2ab
No related branches found
No related tags found
1 merge request!44Merge back holography to master
FROM ubuntu:bionic as builder
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository -sy ppa:kernsuite/kern-5 && \
apt-add-repository -sy multiverse && \
apt-add-repository -sy restricted && \
apt-get update
ARG CASACORE_VERSION=v3.0.0
RUN apt-get update && apt-get -y install \
python3-casacore cmake build-essential python3-dev python3-scipy python3-h5py python3-astropy \
python3-emcee
COPY ./ /root/src
RUN mkdir -p /root/src/build/gnucxx11_debug
WORKDIR /root/src/build/gnucxx11_debug
RUN cmake ../../ -DUSE_LOG4CPLUS=OFF -DBUILD_PACKAGES=CAL -DCMAKE_INSTALL_PREFIX=/opt/lofar
RUN make install
FROM ubuntu:bionic
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository -sy ppa:kernsuite/kern-5 && \
apt-add-repository -sy multiverse && \
apt-add-repository -sy restricted && \
apt-get update && \
apt-get update && \
apt-get -y install python3-casacore python3-scipy python3-h5py python3-astropy && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /opt/lofar /opt/lofar
WORKDIR /root
\ No newline at end of file
FROM ubuntu:bionic
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository -sy ppa:kernsuite/kern-5 && \
apt-add-repository -sy multiverse && \
apt-add-repository -sy restricted && \
apt-get update && \
apt install -y python3-casacore
ARG CASACORE_VERSION=v3.0.0
RUN apt-get update && apt-get -y install \
python3-astropy \
python3-casacore \
python3-scipy \
python3-h5py \
python3-emcee \
python3-numba
\ No newline at end of file
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment