Add multi-platform builds
Current Behavior
docker run -it registry1.dso.mil/ironbank/opensource/nodejs/nodejs22:22.13 node -v
Unable to find image 'registry1.dso.mil/ironbank/opensource/nodejs/nodejs22:22.13' locally
22.13: Pulling from ironbank/opensource/nodejs/nodejs22
docker: no matching manifest for linux/arm64 in the manifest list entries.
See 'docker run --help'.
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 [nodejs20-slim](dsop/opensource/nodejs/nodejs-slim/nodejs20-slim#34 (closed) implemented it back in January. Though how it was done, I am not sure.
Tasks
-
Feature has been implemented
Please read the Iron Bank Documentation for more info