-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ubuntu-18-build' into 'master'
Ubuntu 18 build See merge request RD/DP3!302
- Loading branch information
Showing
7 changed files
with
79 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
FROM ubuntu:18.04 | ||
|
||
ENV EVERYBEAM_VERSION_TAG=v0.1.1 | ||
ENV IDG_VERSION_TAG=0.8 | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \ | ||
apt-get install -y \ | ||
libboost-python-dev libcfitsio-dev python3-dev python3-numpy cmake wget \ | ||
build-essential libhdf5-serial-dev libarmadillo-dev \ | ||
libboost-filesystem-dev libboost-system-dev libboost-date-time-dev \ | ||
libboost-program-options-dev libboost-test-dev \ | ||
libxml2-dev libpng-dev pkg-config \ | ||
libgtkmm-3.0-dev git libfftw3-dev \ | ||
gfortran flex bison wcslib-dev \ | ||
libboost-numpy-dev liblua5.3-dev \ | ||
casacore-dev casacore-tools pybind11-dev python3-pip ninja-build \ | ||
# Build aoflagger3. | ||
# Use make, since ninja in Ubuntu 18 does not support Fortran. | ||
&& mkdir /aoflagger && cd /aoflagger \ | ||
&& git clone https://gitlab.com/aroffringa/aoflagger.git src \ | ||
&& mkdir build && cd build \ | ||
&& cmake -DCMAKE_INSTALL_PREFIX=/usr ../src \ | ||
&& make install -j$(($(nproc) / 2 > 0 ? $(nproc) / 2:1)) \ | ||
&& cd / && rm -rf aoflagger \ | ||
# Build IDG | ||
&& mkdir /idg && cd /idg \ | ||
&& git clone https://git.astron.nl/RD/idg.git src \ | ||
&& ( cd src/ && git checkout ${IDG_VERSION_TAG} ) \ | ||
&& mkdir build && cd build \ | ||
&& cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr ../src \ | ||
&& ninja install \ | ||
&& cd / && rm -rf idg \ | ||
# Build EveryBeam | ||
&& mkdir /everybeam && cd /everybeam \ | ||
&& git clone https://git.astron.nl/RD/EveryBeam.git src \ | ||
&& ( cd src/ && git checkout ${EVERYBEAM_VERSION_TAG} ) \ | ||
&& mkdir build && cd build \ | ||
&& cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr ../src -DPYTHON_EXECUTABLE=/usr/bin/python3 \ | ||
&& ninja install \ | ||
&& cd / && rm -rf everybeam | ||
|
||
ADD . /src | ||
|
||
# Build DPPP | ||
RUN mkdir /build && cd /build \ | ||
&& cmake -G Ninja ../src \ | ||
&& ninja install \ | ||
&& DPPP \ | ||
&& rm -r /src /build |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.