Skip to content

Commit

Permalink
chore: bump node version and set openssl-legacy-provider (#2606)
Browse files Browse the repository at this point in the history
* bump node version

Signed-off-by: zachaller <[email protected]>

* add legacy flag as a workaround

Signed-off-by: zachaller <[email protected]>

---------

Signed-off-by: zachaller <[email protected]>
  • Loading branch information
zachaller authored Feb 20, 2023
1 parent e79d1ca commit b273f86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN cd ${GOPATH}/src/dummy && \
####################################################################################################
# UI build stage
####################################################################################################
FROM --platform=$BUILDPLATFORM docker.io/library/node:12.18.4 as argo-rollouts-ui
FROM --platform=$BUILDPLATFORM docker.io/library/node:18 as argo-rollouts-ui

WORKDIR /src
ADD ["ui/package.json", "ui/yarn.lock", "./"]
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"scripts": {
"start": "webpack serve --config ./src/app/webpack.dev.js",
"build": "rm -rf dist && webpack --config ./src/app/webpack.prod.js",
"build": "rm -rf dist && NODE_OPTIONS=--openssl-legacy-provider webpack --config ./src/app/webpack.prod.js",
"test": "react-scripts test",
"eject": "react-scripts eject",
"protogen": "../hack/swagger-codegen.sh generate -i ../pkg/apiclient/rollout/rollout.swagger.json -l typescript-fetch -o src/models/rollout/generated"
Expand Down

0 comments on commit b273f86

Please sign in to comment.