mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 01:46:10 -04:00
Updates per aptalca
This commit is contained in:
-26
@@ -2,33 +2,7 @@
|
|||||||
FROM lsiobase/ubuntu:xenial as buildstage
|
FROM lsiobase/ubuntu:xenial as buildstage
|
||||||
|
|
||||||
# Build arguments
|
# Build arguments
|
||||||
ARG BUILD_DATE
|
|
||||||
ARG VCS_REF
|
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ARG DOCKERHUB
|
|
||||||
ARG BASEIMAGE
|
|
||||||
ARG MODNAME
|
|
||||||
|
|
||||||
# Build-time metadata as defined at http://label-schema.org
|
|
||||||
LABEL org.label-schema.name="${DOCKERHUB}:${BASEIMAGE}-${MODNAME}" \
|
|
||||||
org.label-schema.description="A Docker Mod for the LinuxServer.io Radarr/Sonarr container that adds mkvtoolnix and script for remuxing video files" \
|
|
||||||
org.label-schema.url="https://hub.docker.com/r/${DOCKERHUB}" \
|
|
||||||
org.label-schema.version=$VERSION \
|
|
||||||
org.label-schema.build-date=$BUILD_DATE \
|
|
||||||
org.label-schema.vendor="TheCaptain989" \
|
|
||||||
org.label-schema.schema-version="1.0" \
|
|
||||||
org.label-schema.vcs-url="https://github.com/linuxserver/docker-mods/tree/radarr-striptracks/" \
|
|
||||||
org.label-schema.vcs-ref=$VCS_REF
|
|
||||||
|
|
||||||
# Build-time metadata as defined at https://github.com/opencontainers/image-spec
|
|
||||||
LABEL org.opencontainers.image.title="${DOCKERHUB}:${BASEIMAGE}-${MODNAME}" \
|
|
||||||
org.opencontainers.image.description="A Docker Mod for the LinuxServer.io Radarr/Sonarr container that adds mkvtoolnix and script for remuxing video files" \
|
|
||||||
org.opencontainers.image.url="https://hub.docker.com/r/${DOCKERHUB}" \
|
|
||||||
org.opencontainers.image.version=$VERSION \
|
|
||||||
org.opencontainers.image.created=$BUILD_DATE \
|
|
||||||
org.opencontainers.image.vendor="TheCaptain989" \
|
|
||||||
org.opencontainers.image.source="https://github.com/linuxserver/docker-mods/tree/radarr-striptracks/" \
|
|
||||||
org.opencontainers.image.revision=$VCS_REF
|
|
||||||
|
|
||||||
# Add version number for use in container init script
|
# Add version number for use in container init script
|
||||||
RUN mkdir -p /root-layer/etc && \
|
RUN mkdir -p /root-layer/etc && \
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ Chapters, if they exist, are preserved. The Title attribute in the MKV is set to
|
|||||||
|
|
||||||
Container info:
|
Container info:
|
||||||

|

|
||||||

|
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
>**NOTE:** See the [Sonarr/Radarr v3 Builds](./README.md#sonarrradarr-v3-builds) section below for important differences to these instructions for v3 builds.
|
>**NOTE:** See the [Sonarr/Radarr v3 Builds](./README.md#sonarrradarr-v3-builds) section below for important differences to these instructions for v3 builds.
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ if [ ! -f /usr/bin/mkvmerge ]; then
|
|||||||
elif [ -f /sbin/apk ]; then
|
elif [ -f /sbin/apk ]; then
|
||||||
# Alpine
|
# Alpine
|
||||||
echo "Installing MKVToolNix using apk"
|
echo "Installing MKVToolNix using apk"
|
||||||
apk add mkvtoolnix && \
|
apk add --no-cache mkvtoolnix && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
else
|
else
|
||||||
# Unknown
|
# Unknown
|
||||||
@@ -36,7 +36,7 @@ fi
|
|||||||
# Change ownership
|
# Change ownership
|
||||||
if [ $(stat -c '%G' /usr/local/bin/striptracks.sh) != "users" ]; then
|
if [ $(stat -c '%G' /usr/local/bin/striptracks.sh) != "users" ]; then
|
||||||
echo "Changing ownership on scripts."
|
echo "Changing ownership on scripts."
|
||||||
chown root:users /usr/local/bin/striptracks*.sh
|
chown abc:abc /usr/local/bin/striptracks*.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make executable
|
# Make executable
|
||||||
Reference in New Issue
Block a user