diff --git a/networking/openvswitch/debian/docker/Dockerfile b/networking/openvswitch/debian/docker/Dockerfile index 2ba28f4cc..9045bdfbd 100644 --- a/networking/openvswitch/debian/docker/Dockerfile +++ b/networking/openvswitch/debian/docker/Dockerfile @@ -5,8 +5,6 @@ ARG BASE FROM ${BASE} -ENV OVS_VERSION=2.15.0 - RUN apt-get -y update \ && apt-get -y install \ openvswitch-common \ @@ -16,4 +14,15 @@ RUN apt-get -y update \ openvswitch-pki \ openvswitch-switch \ openvswitch-testcontroller \ - openvswitch-vtep \ No newline at end of file + openvswitch-vtep \ + tini + +# Ensure that tini is located at the root /tini +RUN ln -s /usr/bin/tini /tini + +RUN rm -rf \ + /var/cache/debconf/* \ + /var/lib/apt/lists/* \ + /var/log/* \ + /tmp/* \ + /var/tmp/*