Skip to content
Snippets Groups Projects
Commit 0fd88967 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Use Ubuntu 22.04 as base distribution

parent a54baf40
No related branches found
No related tags found
1 merge request!192Use Ubuntu 22.04 as base distribution
Pipeline #74957 passed
FROM ubuntu:20.04 as builder
FROM ubuntu:22.04 as builder
# This Docker image builds the dependencies for the Rapthor pipeline.
# It lives on the head of its dependencies.
......@@ -156,7 +156,7 @@ RUN python3 -m pip install --no-cache-dir --upgrade ./linc
# The image will now be rebuilt without adding the sources, in order to
# reduce the size of the image.
#---------------------------------------------------------------------------
FROM ubuntu:20.04 as runner
FROM ubuntu:22.04 as runner
COPY --from=builder /usr/local /usr/local
RUN chmod +rx /usr/local/bin/*
......@@ -191,34 +191,37 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y \
casacore-tools \
gdb \
git \
libatkmm-1.6-1v5 \
libboost-date-time1.71.0 \
libboost-filesystem1.71.0 \
libboost-program-options1.71.0 \
libboost-python1.71.0 \
libblas3 \
libboost-filesystem1.74.0 \
libboost-program-options1.74.0 \
libboost-python1.74.0 \
libcairomm-1.0-1v5 \
libcasa-casa4 \
libcasa-fits4 \
libcasa-measures4 \
libcasa-ms4 \
libcasa-python3-4 \
libcasa-scimath4 \
libcasa-tables4 \
libcfitsio8 \
libcasa-casa6 \
libcasa-fits6 \
libcasa-measures6 \
libcasa-ms6 \
libcasa-python3-6 \
libcasa-scimath6 \
libcasa-tables6 \
libcfitsio9 \
libfftw3-double3 \
libfftw3-single3 \
libgfortran5 \
libglib2.0-0 \
libglibmm-2.4-1v5 \
libgomp1 \
libgsl23 \
libgsl27 \
libgtkmm-3.0-1v5 \
libhdf5-103 \
libhdf5-cpp-103 \
libhdf5-103-1 \
libhdf5-cpp-103-1 \
liblapack3 \
liblua5.3-0 \
libpangomm-1.4-1v5 \
libpng16-16 \
libpython3.8 \
libpython3.10 \
libsigc++-2.0-0v5 \
libstdc++6 \
python3 \
......
......@@ -49,7 +49,7 @@ Manual installation
.. note::
Skip this section if you want to run **LINC** using software containers.
For installing **LINC** a Debian-based operating system is recommended. In order to compile the required packages for running **LINC** you may need to install the following packages::
For installing **LINC** a Debian-based operating system is recommended (e.g. Ubuntu 22.04). In order to compile the required packages for running **LINC** you may need to install the following packages::
$ apt-get update && \
$ apt-get install -y bison build-essential casacore-data casacore-dev cmake flex gfortran git \
......@@ -61,10 +61,10 @@ For installing **LINC** a Debian-based operating system is recommended. In order
In order to run **LINC** you need to get the following packages onto your system::
$ apt-get install -y casacore-tools libatkmm-1.6-1v5 libboost-date-time1.71.0 libboost-filesystem1.71.0 libboost-program-options1.71.0 \
libboost-python1.71.0 libcairomm-1.0-1v5 libcasa-casa4 libcasa-fits4 libcasa-measures4 libcasa-ms4 libcasa-python3-4 \
libcasa-scimath4 libcasa-tables4 libcfitsio8 libfftw3-double3 libfftw3-single3 libglibmm-2.4-1v5 libgomp1 libgsl23 \
libgtkmm-3.0-1v5 libhdf5-103 libhdf5-cpp-103 liblapack3 liblua5.3-0 libpangomm-1.4-1v5 libpng16-16 libpython3.8 \
$ apt-get install -y casacore-tools gdb libatkmm-1.6-1v5 libblas3 libboost-filesystem1.74.0 libboost-program-options1.74.0 libboost-python1.74.0 libcairomm-1.0-1v5 \
libcasa-casa6 libcasa-fits6 libcasa-measures6 libcasa-ms6 libcasa-python3-6 libcasa-scimath6 libcasa-tables6 libcfitsio9 \
libfftw3-double3 libfftw3-single3 libgfortran5 libglib2.0-0 libglibmm-2.4-1v5 libgomp1 libgsl27 \
libgtkmm-3.0-1v5 libhdf5-103-1 libhdf5-cpp-103-1 liblapack3 liblua5.3-0 libpangomm-1.4-1v5 libpng16-16 libpython3.10 \
libsigc++-2.0-0v5 libstdc++6 nodejs python3 python3-casacore python3-distutils rsync wget
Then you need to install the following software:
......@@ -129,4 +129,4 @@ Those are written in the `Common Workflow Language`_ (CWL).
.. _Singularity: https://sylabs.io/singularity/
.. _virtual environment: https://docs.python.org/3/library/venv.html
.. _conda: https://docs.conda.io/en/latest/miniconda.html
.. _udocker: https://indigo-dc.gitbook.io/udocker/
.. _udocker: https://indigo-dc.gitbook.io/udocker/
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment