From 9b0e1242f68fd9d65fc60d803e44c9fc1f9c7ac3 Mon Sep 17 00:00:00 2001 From: Dagan McGregor Date: Tue, 21 May 2024 01:34:56 +1200 Subject: [PATCH] chore: add almalinux8 rpm builds CentOS Stream8 will be EOL soon, so this adds alternative for rpm builds --- images/rpmbuild-almalinux8/Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 images/rpmbuild-almalinux8/Dockerfile diff --git a/images/rpmbuild-almalinux8/Dockerfile b/images/rpmbuild-almalinux8/Dockerfile new file mode 100644 index 0000000..3de7c8e --- /dev/null +++ b/images/rpmbuild-almalinux8/Dockerfile @@ -0,0 +1,18 @@ +FROM ghcr.io/geonet/base-images/almalinux:8.9 +# Install prerequisites +RUN dnf module enable -y nodejs:20 \ + && dnf install -y epel-release 'dnf-command(config-manager)' \ + && dnf config-manager --set-enabled powertools +# Update system +RUN dnf update -y && \ + dnf install -y boost automake boost-filesystem boost-iostreams \ + boost-program-options boost-regex boost-signals boost-system \ + boost-thread cairo cairo-devel dnf-plugins-core fontconfig \ + fontconfig-devel freetype freetype-devel gcc gcc-c++ git glibc \ + kernel-devel libdbi libdbi-devel libgfortran libxml2 \ + libxml2-devel make ncurses ncurses-devel nodejs npm octave \ + openssl pango pango-devel perl-devel python3.6 python3.11 qt5-qtwebengine \ + rpm-build rpmdevtools rpm-sign rpmlint shadow-utils systemd unzip + +RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip +RUN ./aws/install