mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
v3ify
This commit is contained in:
Regular → Executable
+1
-1
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
if [ -f /usr/bin/apt ]; then
|
if [ -f /usr/bin/apt ]; then
|
||||||
apt-get update
|
apt-get update
|
||||||
fi
|
fi
|
||||||
|
|||||||
Regular → Executable
Executable
+5
@@ -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
@@ -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
|
||||||
Reference in New Issue
Block a user