UNCLASSIFIED - NO CUI

Skip to content

Add support for multi-platform builds

Current Behavior

docker pull registry1.dso.mil/ironbank/opensource/nodejs/nodejs22:22.12.0-slim

22.12.0-slim: Pulling from ironbank/opensource/nodejs/nodejs22
3685f91b5ebb: Already exists
d1f349f0fbe4: Already exists
03267486a63f: Pull complete
Digest: sha256:c96936eed256fdcbe915dfebb1d1a50a424a7048ee97d5298f891aa2eade1408
Status: Downloaded newer image for registry1.dso.mil/ironbank/opensource/nodejs/nodejs22:22.12.0-slim
image with reference registry1.dso.mil/ironbank/opensource/nodejs/nodejs22:22.12.0-slim was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64

Feature description

I and my team do development on corporate macOS laptops. When we pull an image from Iron Bank the image needs to provide a build for linux/arm64 as that is what macOS expects.

Use cases

(Detailed description of the use case for this feature)

Not having this has required my team to create docker-compose.overide.yml file to check what OS we are using and for macOS to switch to the NodeJS image from Docker Hub.

It would be valuable to be able to simplify our local development to use the Iron Bank hosted images as well as to test our code using the images we use for production.

Benefits

(How does this benefit others)

It would be valuable for any developer on macOS to test their code using the images used for production.

Requirements

(Any requirements for this feature to be enabled?)

I'm not aware of anything.

Links / references

(List of links or references that support this feature)

This feature is possible as the team that maintains fiesta-wagon-ingress implemented it back in October. Though how it was done, I am not sure.

Tasks

  • Feature has been implemented

Please read the Iron Bank Documentation for more info

Edited by John McMahon
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information