blob: b908c555fc3106a4fdd841b7c50c37fff085b075 [file] [log] [blame]
Mohammed Naser86615772024-06-01 10:02:09 -04001# SPDX-License-Identifier: Apache-2.0
vexxhost-botc2fd4282024-06-26 07:04:25 +02002# Atmosphere-Rebuild-Time: 2024-06-25T13:53:44Z
Mohammed Naserda994232024-04-13 12:34:01 -04003
4FROM quay.io/centos/centos:stream9
vexxhost-bot9e374282024-06-27 21:59:24 +02005ADD --chmod=755 https://github.com/krallin/tini/releases/download/v0.19.0/tini /tini
Mohammed Naser65cda132024-05-02 14:34:08 -04006ARG OVS_SERIES=3.2
Mohammed Naserbfbf31e2024-05-30 20:45:38 -04007ARG OVS_VERSION=${OVS_SERIES}.0-80
Mohammed Naserda994232024-04-13 12:34:01 -04008RUN <<EOF sh -xe
9dnf -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs install \
10 centos-release-nfv-openvswitch.noarch
11dnf -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs install \
vexxhost-bot34d7f832024-07-16 15:52:20 +020012 iptables \
13 openvswitch${OVS_SERIES}-${OVS_VERSION}.el9s \
14 openvswitch${OVS_SERIES}-test-${OVS_VERSION}.el9s \
15 python3-netifaces \
16 tcpdump
Mohammed Naserda994232024-04-13 12:34:01 -040017dnf -y clean all
18rm -rf /var/cache/dnf
Yaguang Tang6db2e112025-01-17 20:14:29 +080019usermod -u 42424 openvswitch
20groupmod -g 42424 openvswitch
Mohammed Naserda994232024-04-13 12:34:01 -040021EOF