Add tini with openvswitch

Containerd v1.7+ will stop openvswitch when
restarted so we need to run openvswitch as a child
process, requiring tini.

Change-Id: I2484308d1dff326db18b181051d1c4fa24511bbe
This commit is contained in:
SPEARS, DUSTIN (ds443n)
2024-05-28 15:20:07 -04:00
committed by Sergiy Markin
parent 538c4341b7
commit b152d2e5a6
2 changed files with 10 additions and 0 deletions

View File

@@ -1,6 +1,11 @@
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 && \

View File

@@ -3,6 +3,11 @@ FROM ${FROM}
ARG DEBIAN_FRONTEND=noninteractive
# 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 -y upgrade && \