martin/Cross.toml

14 lines
523 B
TOML
Raw Normal View History

[build]
pre-build = [
# install nodejs and npm to compile static web resources
# note that architecture could be the same as the container, not $CROSS_DEB_ARCH
# Need to use a fairly old Node.js version to support the old underlying docker image
"curl -fsSL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh",
"bash nodesource_setup.sh",
"apt-get install -y nodejs",
"node -v",
# Using old NPM, so must ensure correct access
"mkdir -p /.npm",
"chown -R 1001:127 /.npm",
]