Bumped node version for build image, some cleanup from polymer remnants
This commit is contained in:
parent
1791f83dcc
commit
7346bdc00b
9 changed files with 19 additions and 326 deletions
3
Makefile
3
Makefile
|
|
@ -160,9 +160,10 @@ docs-cleanup:
|
|||
|
||||
.PHONY: web-build
|
||||
# web-build: Build JS packages static/js
|
||||
# TODO need to upgrade to webpack 5 and remove -e NODE_OPTIONS=--openssl-legacy-provider
|
||||
web-build:
|
||||
rm -rf node_modules
|
||||
docker run -it --rm -v $(PWD):/project --workdir=/project rhodecode/static-files-build:16 -c "npm install && /project/node_modules/.bin/grunt"
|
||||
docker run -it --rm -e NODE_OPTIONS=--openssl-legacy-provider -v $(PWD):/project --workdir=/project rhodecode/static-files-build:24 -c "npm install && /project/node_modules/.bin/grunt"
|
||||
# run static file check
|
||||
./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/
|
||||
rm -rf node_modules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue