mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
Using container to run `ansible-playbook` against localhost.
To debug it, try
```bash
sudo DEBUG=1 ./.github/run_test.sh tests_bond_nm.yml
```
Attached two container files for CentOS 8 and CentOS Stream 8.
The container image is stored under quay:
https://quay.io/organization/linux_system_roles
Only a small mount of tests has been chose in order to give stable CI
test feedback.
The github action CI will run two instances using above container image.
Signed-off-by: Gris Ge <fge@redhat.com>
12 lines
432 B
Text
12 lines
432 B
Text
FROM quay.io/centos/centos:stream8
|
|
|
|
RUN 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"]
|