Commit 4538f28d authored by mancini's avatar mancini

Refactor dockerfile


Former-commit-id: 1fb39e29
parent 73899a78
......@@ -42,11 +42,11 @@ WORKDIR /src/
# Build the IDG version from source
ADD ./idg /src/idg/src
COPY ./idg /src/idg/src
RUN mkdir idg/build && cd idg/build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ ../src && make install -j$NPROCS
ADD ./STMAN /src/STMAN/src
COPY ./STMAN /src/STMAN/src
RUN cd /src/STMAN/ && \
mkdir build && \
cd build && \
......@@ -54,7 +54,7 @@ RUN cd /src/STMAN/ && \
make -j$NPROCS && \
make install -j$NPROCS
ADD ./Dysco /src/Dysco/src
COPY ./Dysco /src/Dysco/src
RUN cd /src/Dysco/ && \
mkdir build && \
cd build && \
......@@ -62,7 +62,7 @@ RUN cd /src/Dysco/ && \
make -j$NPROCS && \
make install -j$NPROCS
ADD ./LOFARBeam /src/LOFARBeam/src
COPY ./LOFARBeam /src/LOFARBeam/src
RUN cd /src/LOFARBeam/ && \
mkdir build && \
cd build && \
......@@ -70,7 +70,7 @@ RUN cd /src/LOFARBeam/ && \
make -j$NPROCS && \
make install -j$NPROCS
ADD ./aoflagger /src/aoflagger/src
COPY ./aoflagger /src/aoflagger/src
RUN cd /src/aoflagger/ && \
mkdir build && \
cd build && \
......@@ -78,7 +78,7 @@ RUN cd /src/aoflagger/ && \
make -j$NPROCS && \
make install -j$NPROCS
ADD ./DP3 /src/dp3/src
COPY ./DP3 /src/dp3/src
RUN cd /src/dp3/ && \
mkdir build && \
cd build && \
......@@ -86,7 +86,7 @@ RUN cd /src/dp3/ && \
make -j$NPROCS && \
make install -j$NPROCS
ADD ./wsclean/wsclean /src/WSClean/src
COPY ./wsclean/wsclean /src/WSClean/src
RUN cd /src/WSClean/ && \
mkdir build && cd build && \
cmake ../src -DCMAKE_INSTALL_PREFIX=/usr/local/ -DPORTABLE=True &&\
......@@ -128,6 +128,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
libpng16-16 \
libxml2 \
lua5.3 \
liblua5.3 \
python3.7 \
python3-casacore \
python3-numpy \
......@@ -158,7 +159,7 @@ LABEL Dysco.version.tag=${Dysco_TAG}
ARG LofarBeam_TAG=master
LABEL LOFARBeam.version.tag=${LofarBeam_TAG}
ARG WSCLEAN_TAG=master
ARG WSClean_TAG=master
LABEL WSClean.version.tag=${WSClean_TAG}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment