Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 1 | # 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 | |
| 15 | FROM quay.io/centos/centos:stream9 |
Mohammed Naser | 65cda13 | 2024-05-02 14:34:08 -0400 | [diff] [blame^] | 16 | ARG OVS_SERIES=3.2 |
| 17 | ARG OVS_VERSION=${OVS_SERIES}.0-56 |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 18 | RUN <<EOF sh -xe |
| 19 | dnf -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs install \ |
| 20 | centos-release-nfv-openvswitch.noarch |
| 21 | dnf -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs install \ |
| 22 | openvswitch${OVS_SERIES}-${OVS_VERSION}.el9s iptables |
| 23 | dnf -y clean all |
| 24 | rm -rf /var/cache/dnf |
| 25 | EOF |