mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Merge pull request #426 from linuxserver/universal-tshoot-v3
Switch to hybrid (universal-tshoot)
This commit is contained in:
commit
3883984651
2
root/etc/cont-init.d/95-apt-get
Normal file → Executable file
2
root/etc/cont-init.d/95-apt-get
Normal file → Executable file
@ -2,4 +2,4 @@
|
||||
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
apt-get update
|
||||
fi
|
||||
fi
|
||||
|
||||
0
root/etc/cont-init.d/95-tshoot-config
Normal file → Executable file
0
root/etc/cont-init.d/95-tshoot-config
Normal file → Executable file
17
root/etc/s6-overlay/s6-rc.d/init-mod-universal-tshoot/run
Executable file
17
root/etc/s6-overlay/s6-rc.d/init-mod-universal-tshoot/run
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
## Ubuntu
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
echo "\
|
||||
dnsutils \
|
||||
net-tools \
|
||||
iputils-ping \
|
||||
traceroute" >> /mod-repo-packages-to-install.list
|
||||
|
||||
fi
|
||||
# Alpine
|
||||
if [ -f /sbin/apk ]; then
|
||||
echo "\
|
||||
bind-tools \
|
||||
net-tools" >> /mod-repo-packages-to-install.list
|
||||
fi
|
||||
@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
root/etc/s6-overlay/s6-rc.d/init-mod-universal-tshoot/up
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-mod-universal-tshoot/up
Normal file
@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-tshoot/run
|
||||
Loading…
x
Reference in New Issue
Block a user