add openvswitch user for OVS to make it possible to run non-root mode
Change-Id: Ia065b9289c5cc844641f0a869ff37a5339c7c43f
This commit is contained in:
parent
c899f6b6c1
commit
2fc8c49640
openvswitch
@ -9,4 +9,6 @@ RUN chmod +x /tini
|
||||
RUN set -ex && \
|
||||
apt-get update && \
|
||||
apt-get install -y openvswitch-switch && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
useradd -u 42424 openvswitch && \
|
||||
chown -R openvswitch:openvswitch /var/lib/openvswitch /etc/openvswitch
|
||||
|
@ -30,4 +30,6 @@ RUN set -ex && \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/log/* \
|
||||
/tmp/* \
|
||||
/var/tmp/*
|
||||
/var/tmp/* && \
|
||||
useradd -u 42424 openvswitch && \
|
||||
chown -R openvswitch:openvswitch /var/lib/openvswitch /etc/openvswitch
|
||||
|
Loading…
x
Reference in New Issue
Block a user