Update Dockerfile.base (#473)

This commit is contained in:
xiezheng-XD
2023-08-14 13:35:07 +08:00
committed by GitHub
parent f8f8b41fa2
commit ec229e69ac

View File

@@ -22,13 +22,12 @@ RUN apt-get update && \
net-tools \
lsof \
sudo \
&& update-ca-certificates \
&& apt-get upgrade -y \
&& apt-get clean \
&& rm -rf /var/log/*log /var/lib/apt/lists/* /var/log/apt/* /var/lib/dpkg/*-old /var/cache/debconf/*-old \
&& rm -rf /var/log/*log /var/lib/apt/lists/* /var/log/apt/* /var/lib/dpkg/*-old /var/cache/debconf/*-old \
&& update-alternatives --set iptables /usr/sbin/iptables-legacy \
&& update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
# Sudoers used to allow tcpdump and other debug utilities.
RUN useradd -m --uid 1337 istio-proxy && \
echo "istio-proxy ALL=NOPASSWD: ALL" >> /etc/sudoers
echo "istio-proxy ALL=NOPASSWD: ALL" >> /etc/sudoers