Skip to content

Commit

Permalink
Update Dockerfile.base (alibaba#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiezheng-XD authored Aug 14, 2023
1 parent f8f8b41 commit ec229e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ec229e6

Please sign in to comment.