blob: c91700bde489cae5db2e6baa9c5483a5ad560fa4 [file] [log] [blame]
Mohammed Naserda994232024-04-13 12:34:01 -04001# Copyright (c) 2024 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15FROM quay.io/centos/centos:stream9
Mohammed Naser65cda132024-05-02 14:34:08 -040016ARG OVS_SERIES=3.2
17ARG OVS_VERSION=${OVS_SERIES}.0-56
Mohammed Naserda994232024-04-13 12:34:01 -040018RUN <<EOF sh -xe
19dnf -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs install \
20 centos-release-nfv-openvswitch.noarch
21dnf -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs install \
22 openvswitch${OVS_SERIES}-${OVS_VERSION}.el9s iptables
23dnf -y clean all
24rm -rf /var/cache/dnf
25EOF