network/.github/Dockerfile.c8s-network-role
Rich Megginson 89d7148e81 ci: fix and improve integration container testing
Use the vault for centos 7 and centos stream 8

Exclude tests/tests_team_plugin_installation_nm.yml since
tests/tests_team_nm.yml is excluded.

Use grouping to group log lines for better readability.
https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#grouping-log-lines

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2024-08-15 16:48:40 -06:00

13 lines
525 B
Text

FROM quay.io/centos/centos:stream8
RUN sed -i '/^mirror/d;s/#\(baseurl=http:\/\/\)mirror/\1vault/' /etc/yum.repos.d/*.repo && \
dnf -y install dnf-plugins-core epel-release && \
dnf config-manager --set-enabled powertools && \
dnf -y upgrade && \
dnf -y install NetworkManager NetworkManager-wifi \
procps-ng iproute ansible openssh-server openssh-clients systemd-udev \
dnsmasq hostapd wpa_supplicant openssl ethtool iputils python3-gobject-base
VOLUME [ "/sys/fs/cgroup" ]
CMD ["/usr/sbin/init"]