This commit is contained in:
TheSpad
2022-07-24 14:42:54 +01:00
parent 0b79e4c541
commit 9fbcc36241
13 changed files with 26 additions and 1 deletions
Regular → Executable
+1 -1
View File
@@ -2,4 +2,4 @@
if [ -f /usr/bin/apt ]; then
apt-get update
fi
fi
View File
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bash
if [ -f /usr/bin/apt ]; then
apt-get update
fi
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/mod-init-apt/run
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bash
## Ubuntu
if [ -f /usr/bin/apt ]; then
apt-get install --no-install-recommends -y \
dnsutils \
net-tools \
iputils-ping \
traceroute
fi
# Alpine
if [ -f /sbin/apk ]; then
apk add --no-cache \
bind-tools \
net-tools
fi
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/mod-init-tshoot/run