Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DP3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
DP3
Merge requests
!1267
AST-1553
Remove IDG from Ubuntu 20 build; Add Ubuntu 24 build
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
AST-1553
Remove IDG from Ubuntu 20 build; Add Ubuntu 24 build
ast-1553-use-ubuntu-24
into
master
Overview
5
Commits
8
Pipelines
12
Changes
2
Merged
Maik Nijhuis
requested to merge
ast-1553-use-ubuntu-24
into
master
9 months ago
Overview
5
Commits
8
Pipelines
12
Changes
2
Expand
Since IDG no longer supports Ubuntu 20 (it uses CMake 3.17, while Ubuntu 20 has CMake 3.16), remove it from the Ubuntu 20 CI build.
Add a basic Ubuntu 24 build on CI.
Edited
9 months ago
by
Maik Nijhuis
0
0
Merge request reports
Viewing commit
3f109f5d
Prev
Next
Show latest version
2 files
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Verified
3f109f5d
Use latest IDG master @ CI docker image
· 3f109f5d
Maik Nijhuis
authored
9 months ago
docker/ubuntu_24_04_base
0 → 100644
+
81
−
0
Options
FROM ubuntu:24.04
# TODO: needs to be bumped before next DP3 release
# ENV IDG_VERSION=0.8
ENV EVERYBEAM_VERSION=v0.5.8
ENV IDG_VERSION=9ce6fa88b9d746d8d7146c474992aba9b98eb41f
ENV AOFLAGGER_VERSION=b1256de90b00a5a83477274390decd6671cdcd38
RUN export DEBIAN_FRONTEND="noninteractive" && \
apt-get update && \
apt-get install -y \
bison \
build-essential \
casacore-dev \
casacore-tools \
clang-format-14 \
cmake \
doxygen \
flex \
gcovr \
gfortran \
git \
libarmadillo-dev \
libboost-date-time-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libboost-python-dev \
libboost-system-dev \
libboost-test-dev \
libcfitsio-dev \
libfftw3-dev \
libgtkmm-3.0-dev \
libhdf5-serial-dev \
liblua5.3-dev \
libpng-dev \
ninja-build \
pkg-config \
pybind11-dev \
python3-dev \
python3-h5py \
python3-numpy \
python3-pip \
python3-pytest \
python3-sphinx \
python3-sphinx-rtd-theme \
wcslib-dev \
wget \
&& \
rm -rf /var/lib/apt/lists/*
# Build aoflagger3
RUN mkdir /aoflagger && cd /aoflagger \
&& git clone https://gitlab.com/aroffringa/aoflagger.git src \
&& ( cd src/ && git checkout ${AOFLAGGER_VERSION} ) \
&& mkdir build && cd build \
&& cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr ../src \
&& ninja install \
&& cd / && rm -rf aoflagger
# Build IDG
# (PORTABLE: it may run on a different node than where it was compiled)
RUN mkdir /idg && cd /idg \
&& git clone https://git.astron.nl/RD/idg.git src \
&& ( cd src/ && git checkout ${IDG_VERSION} ) \
&& mkdir build && cd build \
&& cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DPORTABLE=ON ../src \
&& ninja install \
&& cd / && rm -rf idg
# Build EveryBeam
RUN mkdir /everybeam && cd /everybeam \
&& git clone https://git.astron.nl/RD/EveryBeam.git src \
&& ( cd src/ && git checkout ${EVERYBEAM_VERSION} ) \
&& mkdir build && cd build \
&& cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr ../src -DPYTHON_EXECUTABLE=/usr/bin/python3 \
&& ninja install \
&& cd / && rm -rf everybeam
# Install WSRT Measures (extra casacore data, for integration tests)
# Note: The file on the ftp site is updated daily. When warnings regarding leap
# seconds appear, ignore them or regenerate the docker image.
RUN wget -nv -O /WSRT_Measures.ztar ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar \
&& cd /var/lib/casacore/data \
&& tar xfz /WSRT_Measures.ztar \
&& rm /WSRT_Measures.ztar
Loading