Mohammed Naser | cc6868b | 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 | 735efe2 | 2024-06-26 23:46:25 -0400 | [diff] [blame] | 3 | # Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 4 | |
Mohammed Naser | cc6868b | 2025-01-18 15:49:44 -0500 | [diff] [blame^] | 5 | FROM centos |
vexxhost-bot | 02d7ca4 | 2024-06-27 21:52:07 +0200 | [diff] [blame] | 6 | ADD --chmod=755 https://github.com/krallin/tini/releases/download/v0.19.0/tini /tini |
Mohammed Naser | 65cda13 | 2024-05-02 14:34:08 -0400 | [diff] [blame] | 7 | ARG OVS_SERIES=3.2 |
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 \ |
vexxhost-bot | d0f3abb | 2024-07-16 15:52:18 +0200 | [diff] [blame] | 13 | iptables \ |
| 14 | openvswitch${OVS_SERIES}-${OVS_VERSION}.el9s \ |
| 15 | openvswitch${OVS_SERIES}-test-${OVS_VERSION}.el9s \ |
| 16 | python3-netifaces \ |
| 17 | tcpdump |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 18 | dnf -y clean all |
| 19 | rm -rf /var/cache/dnf |
Yaguang Tang | bb492df | 2025-01-17 20:14:29 +0800 | [diff] [blame] | 20 | usermod -u 42424 openvswitch |
| 21 | groupmod -g 42424 openvswitch |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 22 | EOF |