Skip to content

Commit

Permalink
MGMT-15810: change base image to stream9 (#725)
Browse files Browse the repository at this point in the history
Now that D/S building system fully supports RHEL-9 base images (and
allows easy installation of nmstate and other libs that were previously
unsupported) we can move U/S to stream9 and D/S to ubi9-minimal.

It doesn't seem possible to easily use ubi9-minimal U/S for the
assisted-service, because installation of nmstate packages either
requires entitlements running on a RHEL node, or alternatively an access
to RedHat's internal network (which can be a major problem for U/S
development). For a better consistency we're sticking with the same for
the agent, installer, etc.
  • Loading branch information
osherdp committed Sep 21, 2023
1 parent 5f09d3a commit 15a57d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.assisted-installer
Expand Up @@ -12,7 +12,7 @@ RUN go mod download
COPY . .
RUN TARGETPLATFORM=$TARGETPLATFORM make installer

FROM quay.io/centos/centos:stream8
FROM quay.io/centos/centos:stream9

COPY --from=builder /go/src/github.com/openshift/assisted-installer/build/installer /usr/bin/installer
COPY --from=builder /go/src/github.com/openshift/assisted-installer/deploy/assisted-installer-controller /assisted-installer-controller/deploy
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.assisted-installer-controller
Expand Up @@ -17,9 +17,8 @@ RUN go mod download
COPY . .
RUN TARGETPLATFORM=$TARGETPLATFORM make controller

FROM quay.io/centos/centos:stream8
FROM quay.io/centos/centos:stream9

RUN yum -y install make gcc unzip wget curl rsync && yum clean all
COPY --from=cli-artifacts /usr/share/openshift/assisted/oc /usr/bin/oc
COPY --from=builder /go/src/github.com/openshift/assisted-installer/build/assisted-installer-controller /usr/bin/assisted-installer-controller

Expand Down

0 comments on commit 15a57d1

Please sign in to comment.