Skip to content

Commit

Permalink
Merge pull request #5 from citrus-it/ping
Browse files Browse the repository at this point in the history
Add "ping" to base image for Ubuntu 20
  • Loading branch information
oetiker authored Jun 30, 2020
2 parents 587fbfb + 4163066 commit bf7f3e3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ubuntu/helpers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ apt-get install -yq \
less \
joe \
man-db \
net-tools
net-tools \
iputils-ping
apt-get -qq clean
apt-get -qq autoremove
apt-get -qq autoremove

# disable services we do not need
systemctl disable systemd-resolved fstrim.timer fstrim
Expand All @@ -40,9 +41,9 @@ fi
for S in systemd-hostnamed systemd-localed systemd-timedated systemd-logind systemd-initctl systemd-journald; do
O=/etc/systemd/system/${S}.service.d
mkdir -p $O
cp override.conf ${O}/override.conf
cp override.conf ${O}/override.conf
done

# Prevents apt-get upgrade issue when upgrading in a container environment.
# Similar to https://bugs.launchpad.net/ubuntu/+source/makedev/+bug/1675163
cp makedev /etc/apt/preferences.d/makedev
Expand Down

0 comments on commit bf7f3e3

Please sign in to comment.