mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
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>
12 lines
522 B
Text
12 lines
522 B
Text
FROM quay.io/centos/centos:centos7
|
|
|
|
RUN yum -y install https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm && \
|
|
sed -i '/^mirror/d;s/#\?\(baseurl=http:\/\/\)mirror/\1vault/' /etc/yum.repos.d/*.repo && \
|
|
yum -y upgrade && \
|
|
yum -y install NetworkManager NetworkManager-wifi \
|
|
procps-ng iproute ansible openssh-server openssh-clients \
|
|
dnsmasq hostapd wpa_supplicant openssl ethtool iputils && yum clean all
|
|
|
|
VOLUME [ "/sys/fs/cgroup" ]
|
|
|
|
CMD ["/usr/sbin/init"]
|