Skip to content

Commit

Permalink
crossbuild: ubuntu18 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 2cd5ea9 commit fd947b3
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/ubuntu18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN apt-get update && \
# - doxygen & JSON.pm
RUN apt-get install -y doxygen graphviz libjson-perl
# - antora (npm needed)
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get 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.deb.m4
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ RUN apt-get update && \
#
# Documentation build dependecies
#
define(`NODE_VER', ifelse(D_NAME, `ubuntu18', `16', `20'))dnl

# - doxygen & JSON.pm
RUN apt-get install -y doxygen graphviz libjson-perl
# - antora (npm needed)
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_`'NODE_VER.x | bash -
RUN apt-get 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 fd947b3

Please sign in to comment.