Build nevergreen docker image for linux/arm64 and linux/arm/v7See original GitHub issue
What would you like to be able to do? I’d love to be able to run Nevergreen on Raspberry Pi via Docker. Although the Raspberry Pi itself is an arm64 processor, Raspbian is built for 32-bit, so only works with armv7 built Docker images.
Currently images are only built for
What problem would it solve? When running in private/enterprise environments, teams often need to run Nevergreen themselves (e.g for CI servers behind VPNs or local networks). Raspberry Pi is a convenient way to do that in lieu of proper support from the team running the CI tooling, and Docker makes this relatively simple to get going with.
I’m not sure on the CircleCI build process for Nevergreen, however this Bamboo proxy project shows an example of doing so with
docker buildx on GitHub actions; including automating the manifest creation and publishing to DockerHub.
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
After a bit more thinking, I found this not really quite as necessary as I was first thinking, since Nevergreen is also released as an executable jar which makes it pretty easy to run anywhere.
docker-compose.yml like the below works perfectly fine on the Pi using the
adoptopenjdk base images which are already multi-architecture builds.
version: "3.7" services: nevergreen: image: adoptopenjdk:12-hotspot ports: - 5000:5000 volumes: - ./tmp:/app command: ['java', '-jar', '/app/nevergreen-standalone.jar'] restart: unless-stopped
with this to download the latest version prior
mkdir -p tmp if [[ ! -f tmp/nevergreen-standalone.jar ]]; then wget $( curl https://api.github.com/repos/build-canaries/nevergreen/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4 ) mv nevergreen-standalone.jar tmp/nevergreen-standalone.jar fi
Yup, no worries.