Files
openstack-helm-images/openvswitch/Dockerfile.ubuntu
Vladimir Kozhukalov 2ee0584314 [openvswitch] Add iptables package
This is needed for Octavia health manager init
container which creates iptables rules.

Change-Id: If7407f7dad4c645d3efef8eccbf9bfc838bb69ca
2025-06-30 16:29:27 -05:00

15 lines
439 B
Docker

ARG FROM=docker.io/ubuntu:jammy
FROM ${FROM}
# Add Tini
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
RUN set -ex && \
apt-get update && \
apt-get install -y openvswitch-switch iproute2 iptables && \
rm -rf /var/lib/apt/lists/* && \
useradd -u 42424 openvswitch && \
chown -R openvswitch:openvswitch /var/lib/openvswitch /etc/openvswitch