Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add aws cli v2 for rpmbuilds #147

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion images/rpmbuild-centos-stream8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ RUN dnf update -y && \
kernel-devel libdbi libdbi-devel libgfortran libxml2 \
libxml2-devel make ncurses ncurses-devel nodejs npm octave \
openssl pango pango-devel perl-devel python3 qt5-qtwebengine \
rpm-build rpmdevtools rpm-sign rpmlint shadow-utils systemd
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
7 changes: 6 additions & 1 deletion images/rpmbuild-centos-stream9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM ghcr.io/geonet/base-images/centos:stream9
# Installing tools needed for rpmbuild

RUN dnf update -y && \
dnf install -y \
rpm-build rpmdevtools rpm-sign rpmlint git dnf-plugins-core nodejs npm make automake gcc \
gcc-c++ kernel-devel python3 glibc systemd openssl fontconfig-devel freetype freetype-devel boost
gcc-c++ kernel-devel python3 glibc systemd openssl fontconfig-devel freetype freetype-devel boost unzip

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN ./aws/install
11 changes: 8 additions & 3 deletions images/rpmbuild-centos7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM ghcr.io/geonet/base-images/centos:centos7
# Install prerequisites
RUN curl -O https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.xz \
&& tar --strip-components 1 -xvf node-v* -C /usr/local \
&& yum install -y epel-release
&& tar --strip-components 1 -xvf node-v* -C /usr/local \
&& yum install -y epel-release

# Update system
RUN yum update -y && \
yum install -y autoconf automake boost boost-filesystem boost-iostreams \
Expand All @@ -11,4 +12,8 @@ RUN yum update -y && \
freetype freetype-devel gcc gcc-c++ git libdbi libdbi-devel libgfortran \
libxml2 libxml2-devel m2crypto make ncurses ncurses-devel numpy octave \
openssl pango pango-devel perl-devel python3 qtwebkit rpm-build \
rpmdevtools rpmlint rpm-sign shadow-utils systemd tar yum-utils
rpmdevtools rpmlint rpm-sign shadow-utils systemd tar yum-utils unzip

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN ./aws/install
2 changes: 1 addition & 1 deletion images/rpmbuild-fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM ghcr.io/geonet/base-images/fedora:38
RUN dnf update -y && \
dnf install -y \
rpm-build rpmdevtools rpm-sign rpmlint git dnf-plugins-core nodejs npm make automake gcc \
gcc-c++ kernel-devel python3 glibc systemd openssl fontconfig-devel freetype freetype-devel boost
gcc-c++ kernel-devel python3 glibc systemd openssl fontconfig-devel freetype freetype-devel boost awscli
Loading