CIA team,
Some projects currently specify nexus3.onap.org:10001 as a base image repo. In
fact, this is encoded in the onap maven settings.xml and appears to be used by
at least the spotify docker-maven-plugin.
This repo acts as a proxy, pulling the base image from docker.io, caching it,
and serving it to up at build time. This inhibits our ability to build
multi-platform images, as this proxy repo pulls a platform specific image and
does not support multi-platform images.
Let’s define a pattern we can promote as a best practice for building our
multi-platform images. What are our design options?
a) do not use the onap nexus repo as a proxy, and just pull base images
directly from docker hub (docker.io)
pros: supports multi-platform
cons: could introduce performance penalty, as caching no longer
supported
b) use the proxy on Intel build machines, but pull directly from dockerhub on
Arm machines, by maintaining proper settings.xml files on build machines
pros: supports multi-platform
cons: introduces complexity of managing separate settings files
potential performance hit on Arm builds
c) establish an onap repo on docker hub.
pros: supports multi-platform
supports caching (if repo contains FAT manifest, and referenced
platform-specific images)
allows all projects and build environments to reference the
same base image repo
cons: depends on setting up new repo
This is a fairly urgent matter, as projects that currently specify onao nexus
as the base image repo cannot support multi-platform builds, and at this time
must be modified to pull from docker hub directly.
I believe option c is preferred, but we need an implementation plan to make
this a reality
Frank Sandoval
[email protected]
OAM Technologies, representing Arm
OOF committer
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15704): https://lists.onap.org/g/onap-discuss/message/15704
Mute This Topic: https://lists.onap.org/mt/30026034/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-