UNCLASSIFIED - NO CUI

Skip to content

Add support for multiplatform builds

Current Behavior

docker pull registry1.dso.mil/ironbank/opensource/nodejs/nodejs22:22.11

22.11: Pulling from ironbank/opensource/nodejs/nodejs22
1e6b7297048a: Already exists
e966507d68eb: Pull complete
6aaa061c8e7a: Pull complete
Digest: sha256:f447ccf9a3516ddbce4537e4c28f02e0055b770f323a4b7617ca60a16e682570
Status: Downloaded newer image for registry1.dso.mil/ironbank/opensource/nodejs/nodejs22:22.11
image with reference registry1.dso.mil/ironbank/opensource/nodejs/nodejs22:22.11 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

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