Skip to content

Commit

Permalink
fix: update node version to supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Mossman1215 committed Feb 8, 2024
1 parent 5ca19f6 commit 421b7bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion images/rpmbuild-centos-stream8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ghcr.io/geonet/base-images/centos:stream8
# Install prerequisites
RUN dnf module enable -y nodejs:16 \
RUN dnf module enable -y nodejs:20 \
&& dnf install -y epel-release epel-next-release \
'dnf-command(config-manager)' \
&& dnf config-manager --set-enabled powertools
Expand Down
3 changes: 2 additions & 1 deletion images/rpmbuild-centos-stream9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM ghcr.io/geonet/base-images/centos:stream9
# Installing tools needed for rpmbuild

RUN dnf update -y && \
RUN dnf module enable -y nodejs:20 && \
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 unzip
Expand Down
2 changes: 1 addition & 1 deletion images/rpmbuild-centos7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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 \
RUN curl -O https://nodejs.org/dist/latest-v20.x/node-v20.10.0-linux-arm64.tar.xz \
&& tar --strip-components 1 -xvf node-v* -C /usr/local \
&& yum install -y epel-release

Expand Down

0 comments on commit 421b7bd

Please sign in to comment.