UNCLASSIFIED - NO CUI

Skip to content

Add multi-platform builds

Current Behavior

docker run -it registry1.dso.mil/ironbank/opensource/nodejs/nodejs20:20.18.1-slim node -v

Unable to find image 'registry1.dso.mil/ironbank/opensource/nodejs/nodejs20:20.18.1-slim' locally
20.18.1-slim: Pulling from ironbank/opensource/nodejs/nodejs20
3685f91b5ebb: Already exists
d1f349f0fbe4: Pull complete
c17558f17f13: Pull complete
Digest: sha256:24f2b4d1014479010538c3138e59bd287d4ad23ca964c63ae9113b12a66d35cc
Status: Downloaded newer image for registry1.dso.mil/ironbank/opensource/nodejs/nodejs20:20.18.1-slim
docker: image with reference registry1.dso.mil/ironbank/opensource/nodejs/nodejs20:20.18.1-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

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