forked from alibaba/higress
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add higress base image (alibaba#423)
Signed-off-by: fengshunli <[email protected]>
- Loading branch information
1 parent
aa17e95
commit 0620346
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Do not add more stuff to this list that isn't small or critically useful. | ||
# If you occasionally need something on the container do | ||
# sudo apt-get update && apt-get whichever | ||
|
||
# hadolint ignore=DL3005,DL3008 | ||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
curl \ | ||
iptables \ | ||
iproute2 \ | ||
iputils-ping \ | ||
knot-dnsutils \ | ||
netcat \ | ||
tcpdump \ | ||
conntrack \ | ||
bsdmainutils \ | ||
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 \ | ||
&& 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters