mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
Update Dockerfile.base (#473)
This commit is contained in:
@@ -22,13 +22,12 @@ RUN apt-get update && \
|
|||||||
net-tools \
|
net-tools \
|
||||||
lsof \
|
lsof \
|
||||||
sudo \
|
sudo \
|
||||||
&& update-ca-certificates \
|
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get clean \
|
&& 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 iptables /usr/sbin/iptables-legacy \
|
||||||
&& update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
&& update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
||||||
|
|
||||||
# Sudoers used to allow tcpdump and other debug utilities.
|
# Sudoers used to allow tcpdump and other debug utilities.
|
||||||
RUN useradd -m --uid 1337 istio-proxy && \
|
RUN useradd -m --uid 1337 istio-proxy && \
|
||||||
echo "istio-proxy ALL=NOPASSWD: ALL" >> /etc/sudoers
|
echo "istio-proxy ALL=NOPASSWD: ALL" >> /etc/sudoers
|
||||||
|
|||||||
Reference in New Issue
Block a user