sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.84k stars 556 forks source link

Build in docker #426

Open careless6666 opened 3 days ago

careless6666 commented 3 days ago

What about add ability build project inside docker with image with all dependencies?

Now in project used a lot of legacy technologies node v12, python v2, java 8 etc and command from readme with ./mvnw clean install not working, because on step Installing node version v12.14.0

Node v18.17.1 was installed, but we need version v12.14.0
Downloading https://nodejs.org/dist/v12.14.0/node-v12.14.0-darwin-arm64.tar.gz to /Users/xxx/.m2/repository/com/github/eirslett/node/12.14.0/node-12.14.0-darwin-arm64.tar.gz

this unreachable link and much better use nvm for switch node version, but current build can't work correct with nvm