Skip to content

Commit

Permalink
crossbuild: centos7 doesn't support node>16
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnewton committed Apr 22, 2024
1 parent b84504c commit cbc1494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/crossbuild/docker/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN rm /etc/yum.repos.d/CentOS-SCLo-scl.repo
# - doxygen & JSON.pm
RUN yum install -y doxygen graphviz perl-JSON
# - antora (npm needed)
RUN curl -sL https://rpm.nodesource.com/setup_20.x | bash -
RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -
RUN yum install -y nodejs
RUN npm i -g @antora/cli@3.1.7 @antora/site-generator-default@3.1.7
# - pandoc
Expand Down
3 changes: 2 additions & 1 deletion scripts/crossbuild/m4/Dockerfile.rpm.m4
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ RUN yum config-manager --set-enabled crb
#
# Documentation build dependecies
#
define(`NODE_VER', ifelse(OS_VER, 7, `16', `20'))dnl

# - doxygen & JSON.pm
RUN yum install -y doxygen graphviz perl-JSON
# - antora (npm needed)
RUN curl -sL https://rpm.nodesource.com/setup_20.x | bash -
RUN curl -sL https://rpm.nodesource.com/setup_`'NODE_VER.x | bash -
RUN yum install -y nodejs
RUN npm i -g @antora/cli@3.1.7 @antora/site-generator-default@3.1.7
# - pandoc
Expand Down

0 comments on commit cbc1494

Please sign in to comment.