forked from sofastack/sofa-mesh
-
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.
Add bionic and deb_slim base images, optimize size for xenial (istio#…
- Loading branch information
1 parent
505d963
commit 2c17ea5
Showing
4 changed files
with
86 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
FROM ubuntu:bionic | ||
# Base image for debug builds. | ||
# Built manually uploaded as "istionightly/base_debug" | ||
|
||
# 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 | ||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
curl \ | ||
iptables \ | ||
iproute2 \ | ||
iputils-ping \ | ||
knot-dnsutils \ | ||
netcat \ | ||
tcpdump \ | ||
net-tools \ | ||
lsof \ | ||
sudo && \ | ||
apt-get clean -y && \ | ||
rm -rf /var/cache/debconf/* /var/lib/apt/lists/* \ | ||
/var/log/* /tmp/* /var/tmp/* | ||
|
||
# Required: | ||
# iptables (1.8M) (required in init, for debugging in the other cases) | ||
# iproute2 (1.5M) (required for init) | ||
|
||
# Debug: | ||
# curl (11M) | ||
# tcpdump (5M) | ||
# netcat (0.2M) | ||
# net-tools (0.7M): netstat | ||
# lsof (0.5M): for debugging open socket, file descriptors | ||
# knot-dnsutils (4.5M): dig/nslookup | ||
|
||
# Alternative: dnsutils(44M) for dig/nslookup |
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,37 @@ | ||
FROM debian:9-slim | ||
|
||
# Base image for debug builds - base is 22M | ||
# Built manually uploaded as "istionightly/base_debug" | ||
|
||
# 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 | ||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
curl \ | ||
iptables \ | ||
iproute2 \ | ||
iputils-ping \ | ||
knot-dnsutils \ | ||
netcat \ | ||
tcpdump \ | ||
net-tools \ | ||
lsof \ | ||
sudo && apt-get upgrade -y && \ | ||
apt-get clean -y && \ | ||
rm -rf /var/cache/debconf/* /var/lib/apt/lists/* \ | ||
/var/log/* /tmp/* /var/tmp/* | ||
|
||
# Required: | ||
# iptables (1.8M) (required in init, for debugging in the other cases) | ||
# iproute2 (1.5M) (required for init) | ||
|
||
# Debug: | ||
# curl (11M) | ||
# tcpdump (5M) | ||
# netcat (0.2M) | ||
# net-tools (0.7M): netstat | ||
# lsof (0.5M): for debugging open socket, file descriptors | ||
# knot-dnsutils (4.5M): dig/nslookup | ||
|
||
# Alternative: dnsutils(44M) for dig/nslookup |
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