Skip to content

Commit

Permalink
fix Dockerfile NodeJS version for openapi-generator-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
tarilabs committed Jan 25, 2024
1 parent 0497cf4 commit bce364f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ COPY ["go.mod", "go.sum", "./"]
RUN go mod download

USER root
# default NodeJS 14 is not enough for openapi-generator-cli, switch to Node JS currently supported
RUN yum remove -y nodejs npm
RUN yum module -y reset nodejs
RUN yum module -y enable nodejs:18
# install npm and java for openapi-generator-cli
RUN yum install -y nodejs npm java-11

Expand Down

0 comments on commit bce364f

Please sign in to comment.