forked from openshift/assisted-installer-agent
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MGMT-15809: change base image to stream9 (openshift#604)
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
1 parent
e7c8989
commit 10d9c16
Showing
4 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
ARG ASSISTED_INSTALLER_AGENT=quay.io/edge-infrastructure/assisted-installer-agent:latest | ||
FROM $ASSISTED_INSTALLER_AGENT | ||
|
||
RUN yum install -y yum-utils \ | ||
&& yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo \ | ||
&& dnf install -y --nobest --allowerasing \ | ||
docker-ce \ | ||
docker-ce-cli \ | ||
containerd.io \ | ||
tcpdump \ | ||
procps \ | ||
python39 \ | ||
RUN dnf install -y 'dnf-command(config-manager)' && \ | ||
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo && \ | ||
dnf install -y --nobest --allowerasing \ | ||
docker-ce \ | ||
docker-ce-cli \ | ||
containerd.io \ | ||
tcpdump \ | ||
procps \ | ||
python39 \ | ||
&& dnf clean all | ||
|
||
RUN echo -e "#!/bin/sh \nshift 7 && \$@" > /usr/bin/nsenter && chmod a+x /usr/bin/nsenter | ||
ADD podman_override /usr/bin/podman | ||
ADD podman_override /usr/bin/podman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters