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

Refactor dockerfile

parent 4e63512c
No related branches found
No related tags found
No related merge requests found
**/.git
...@@ -42,11 +42,11 @@ WORKDIR /src/ ...@@ -42,11 +42,11 @@ WORKDIR /src/
# Build the IDG version from source # 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 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/ && \ RUN cd /src/STMAN/ && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
...@@ -54,7 +54,7 @@ RUN cd /src/STMAN/ && \ ...@@ -54,7 +54,7 @@ RUN cd /src/STMAN/ && \
make -j$NPROCS && \ make -j$NPROCS && \
make install -j$NPROCS make install -j$NPROCS
ADD ./Dysco /src/Dysco/src COPY ./Dysco /src/Dysco/src
RUN cd /src/Dysco/ && \ RUN cd /src/Dysco/ && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
...@@ -62,7 +62,7 @@ RUN cd /src/Dysco/ && \ ...@@ -62,7 +62,7 @@ RUN cd /src/Dysco/ && \
make -j$NPROCS && \ make -j$NPROCS && \
make install -j$NPROCS make install -j$NPROCS
ADD ./LOFARBeam /src/LOFARBeam/src COPY ./LOFARBeam /src/LOFARBeam/src
RUN cd /src/LOFARBeam/ && \ RUN cd /src/LOFARBeam/ && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
...@@ -70,7 +70,7 @@ RUN cd /src/LOFARBeam/ && \ ...@@ -70,7 +70,7 @@ RUN cd /src/LOFARBeam/ && \
make -j$NPROCS && \ make -j$NPROCS && \
make install -j$NPROCS make install -j$NPROCS
ADD ./aoflagger /src/aoflagger/src COPY ./aoflagger /src/aoflagger/src
RUN cd /src/aoflagger/ && \ RUN cd /src/aoflagger/ && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
...@@ -78,7 +78,7 @@ RUN cd /src/aoflagger/ && \ ...@@ -78,7 +78,7 @@ RUN cd /src/aoflagger/ && \
make -j$NPROCS && \ make -j$NPROCS && \
make install -j$NPROCS make install -j$NPROCS
ADD ./DP3 /src/dp3/src COPY ./DP3 /src/dp3/src
RUN cd /src/dp3/ && \ RUN cd /src/dp3/ && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
...@@ -86,7 +86,7 @@ RUN cd /src/dp3/ && \ ...@@ -86,7 +86,7 @@ RUN cd /src/dp3/ && \
make -j$NPROCS && \ make -j$NPROCS && \
make install -j$NPROCS make install -j$NPROCS
ADD ./wsclean/wsclean /src/WSClean/src COPY ./wsclean/wsclean /src/WSClean/src
RUN cd /src/WSClean/ && \ RUN cd /src/WSClean/ && \
mkdir build && cd build && \ mkdir build && cd build && \
cmake ../src -DCMAKE_INSTALL_PREFIX=/usr/local/ -DPORTABLE=True &&\ cmake ../src -DCMAKE_INSTALL_PREFIX=/usr/local/ -DPORTABLE=True &&\
...@@ -128,6 +128,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ ...@@ -128,6 +128,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
libpng16-16 \ libpng16-16 \
libxml2 \ libxml2 \
lua5.3 \ lua5.3 \
liblua5.3 \
python3.7 \ python3.7 \
python3-casacore \ python3-casacore \
python3-numpy \ python3-numpy \
...@@ -158,7 +159,7 @@ LABEL Dysco.version.tag=${Dysco_TAG} ...@@ -158,7 +159,7 @@ LABEL Dysco.version.tag=${Dysco_TAG}
ARG LofarBeam_TAG=master ARG LofarBeam_TAG=master
LABEL LOFARBeam.version.tag=${LofarBeam_TAG} LABEL LOFARBeam.version.tag=${LofarBeam_TAG}
ARG WSCLEAN_TAG=master ARG WSClean_TAG=master
LABEL WSClean.version.tag=${WSClean_TAG} LABEL WSClean.version.tag=${WSClean_TAG}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment