You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of our CI we are using the .ci/Dockerfile from devfile registry to build an image used for testing here. This Dockerfile and its offline version, .ci/Dockerfile.offline are using amd64 dependencies as part of the build process, this results in the end image being tagged for amd64 in most cases, even when you explicitly try to build for arm64.
Our goal is to move the OpenShift CI using this image to an arm64 instance and as such will need to build and use arm64 images. The noted Dockerfiles above will need to be altered to support building for both amd64 and arm64. A possible solution is to use a tagging system for both architectures and they have separate Dockerfiles. E.g. Dockerfile.amd64, Dockerfile.arm64. The downside of this is we will need to maintain multiple Dockerfiles. An alternate solution is preferred if possible. The use of an environment variable to dynamically set the dependency like registry-operator may work.
Acceptance Criteria
Registry CI images can be built for either arm64 or amd64 architectures
The text was updated successfully, but these errors were encountered:
Which area is this issue related to?
/area ci
/area registry
Issue Description
As part of our CI we are using the
.ci/Dockerfile
from devfile registry to build an image used for testing here. This Dockerfile and its offline version,.ci/Dockerfile.offline
are usingamd64
dependencies as part of the build process, this results in the end image being tagged foramd64
in most cases, even when you explicitly try to build forarm64
.Our goal is to move the OpenShift CI using this image to an
arm64
instance and as such will need to build and usearm64
images. The noted Dockerfiles above will need to be altered to support building for bothamd64
andarm64
. A possible solution is to use a tagging system for both architectures and they have separate Dockerfiles. E.g.Dockerfile.amd64
,Dockerfile.arm64
. The downside of this is we will need to maintain multiple Dockerfiles. An alternate solution is preferred if possible. The use of an environment variable to dynamically set the dependency like registry-operator may work.Acceptance Criteria
arm64
oramd64
architecturesThe text was updated successfully, but these errors were encountered: