switch to hybrid

This commit is contained in:
aptalca
2022-08-18 13:03:55 -04:00
parent 6146a336af
commit 06fa22ab33
20 changed files with 35 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
## Buildstage ##
FROM ghcr.io/linuxserver/baseimage-alpine:3.14 as buildstage
FROM ghcr.io/linuxserver/baseimage-alpine:3.15 as buildstage
# Build arguments
ARG VERSION
@@ -0,0 +1,32 @@
#!/usr/bin/with-contenv bash
cat <<EOF
----------------
>>> Striptracks Mod by TheCaptain989 <<<
Repos:
Dev/test: https://github.com/TheCaptain989/radarr-striptracks
Prod: https://github.com/linuxserver/docker-mods/tree/radarr-striptracks
Version: $(cat /etc/version.tc989)
----------------
EOF
# Determine if setup is needed
if [ ! -f /usr/bin/mkvmerge ]; then
echo "**** Adding striptracks deps to package install list ****"
echo "mkvtoolnix" >> /mod-repo-packages-to-install.list
else
echo "**** striptracks deps already installed, skipping ****"
fi
# Change ownership
if [ $(stat -c '%G' /usr/local/bin/striptracks.sh) != "abc" ]; then
echo "Changing ownership on scripts."
chown abc:abc /usr/local/bin/striptracks*.sh
fi
# Make executable
if [ ! -x /usr/local/bin/striptracks.sh ]; then
echo "Making scripts executable."
chmod +x /usr/local/bin/striptracks*.sh
fi
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-radarr-striptracks-add-package/run
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File