Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc. |
| 2 | # SPDX-License-Identifier: GPL-3.0-or-later |
Mohammed Naser | e786d96 | 2024-06-26 01:08:34 -0400 | [diff] [blame] | 3 | # Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 4 | |
Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 5 | FROM centos |
Mohammed Naser | 6b0543d | 2024-06-27 11:09:14 -0400 | [diff] [blame] | 6 | ADD --chmod=755 https://github.com/krallin/tini/releases/download/v0.19.0/tini /tini |
Mohammed Naser | 63ad0ec | 2025-01-30 13:40:51 -0500 | [diff] [blame] | 7 | ARG OVS_SERIES=3.3 |
Mohammed Naser | bfbf31e | 2024-05-30 20:45:38 -0400 | [diff] [blame] | 8 | ARG OVS_VERSION=${OVS_SERIES}.0-80 |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 9 | RUN <<EOF sh -xe |
| 10 | dnf -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs install \ |
| 11 | centos-release-nfv-openvswitch.noarch |
| 12 | dnf -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs install \ |
Mohammed Naser | c4a4349 | 2024-07-15 19:38:36 -0400 | [diff] [blame] | 13 | iptables \ |
| 14 | openvswitch${OVS_SERIES}-${OVS_VERSION}.el9s \ |
| 15 | openvswitch${OVS_SERIES}-test-${OVS_VERSION}.el9s \ |
| 16 | python3-netifaces \ |
Mohammed Naser | 63ad0ec | 2025-01-30 13:40:51 -0500 | [diff] [blame] | 17 | tcpdump \ |
| 18 | jq |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 19 | dnf -y clean all |
| 20 | rm -rf /var/cache/dnf |
Yaguang Tang | e432155 | 2025-01-17 20:14:29 +0800 | [diff] [blame] | 21 | usermod -u 42424 openvswitch |
| 22 | groupmod -g 42424 openvswitch |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 23 | EOF |