Skip to content

Commit

Permalink
chore: add almalinux8 rpm builds
Browse files Browse the repository at this point in the history
CentOS Stream8 will be EOL soon, so this adds alternative for rpm
builds
  • Loading branch information
ardrigh authored and Mossman1215 committed May 21, 2024
1 parent f176a84 commit 9b0e124
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions images/rpmbuild-almalinux8/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9b0e124

Please sign in to comment.