Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ RUN INSTALL_PKGS="iptables nftables" && \
ovnver_short=$(echo "$ovnver" | cut -d'.' -f1,2) && \
dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs $INSTALL_PKGS && \
dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs "openvswitch$ovsver" "python3-openvswitch$ovsver" && \
dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs "ovn$ovnver_short = $ovnver" "ovn$ovnver_short-central = $ovnver" "ovn$ovnver_short-host = $ovnver" && \
dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs "ovn$ovnver_short" "ovn$ovnver_short-central" "ovn$ovnver_short-host" && \
dnf clean all && rm -rf /var/cache/* && \
sed 's/%/"/g' <<<"%openvswitch$ovsver-devel% %openvswitch$ovsver-ipsec% %ovn$ovnver_short-vtep = $ovnver%" > /more-pkgs
sed 's/%/"/g' <<<"%openvswitch$ovsver-devel% %openvswitch$ovsver-ipsec% %ovn$ovnver_short-vtep%" > /more-pkgs

RUN mkdir -p /var/run/openvswitch && \
mkdir -p /var/run/ovn && \
Expand All @@ -50,5 +50,12 @@ COPY .git/refs/heads/ /root/.git/refs/heads/
# variables to direct operation and configure ovn
COPY dist/images/ovnkube.sh /root/

# Copy and install custom OVS/OVN RPMs.
RUN mkdir -p /root/fdp/
COPY *fdp.*.rpm /root/fdp/
RUN dnf install -y 'dnf-command(versionlock)'
RUN dnf install -y /root/fdp/*.rpm
RUN dnf versionlock add python3-openvswitch* openvswitch* ovn*

WORKDIR /root
ENTRYPOINT /root/ovnkube.sh
Binary file added ovn24.03-24.03.6-54.el9fdp.x86_64.rpm
Binary file not shown.
Binary file added ovn24.03-central-24.03.6-54.el9fdp.x86_64.rpm
Binary file not shown.
Binary file added ovn24.03-host-24.03.6-54.el9fdp.x86_64.rpm
Binary file not shown.
Binary file added ovn24.03-vtep-24.03.6-54.el9fdp.x86_64.rpm
Binary file not shown.