Updates per aptalca

This commit is contained in:
TheCaptain989 2020-10-07 20:13:39 -05:00
parent b03e1e65ef
commit 46191f1985
3 changed files with 2 additions and 29 deletions

View File

@ -2,33 +2,7 @@
FROM lsiobase/ubuntu:xenial as buildstage
# Build arguments
ARG BUILD_DATE
ARG VCS_REF
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
RUN mkdir -p /root-layer/etc && \

View File

@ -6,7 +6,6 @@ Chapters, if they exist, are preserved. The Title attribute in the MKV is set to
Container info:
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/linuxserver/mods/radarr-striptracks)
![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/mods/radarr-striptracks "Container Pulls")
# Installation
>**NOTE:** See the [Sonarr/Radarr v3 Builds](./README.md#sonarrradarr-v3-builds) section below for important differences to these instructions for v3 builds.

View File

@ -22,7 +22,7 @@ if [ ! -f /usr/bin/mkvmerge ]; then
elif [ -f /sbin/apk ]; then
# Alpine
echo "Installing MKVToolNix using apk"
apk add mkvtoolnix && \
apk add --no-cache mkvtoolnix && \
rm -rf /var/lib/apt/lists/*
else
# Unknown
@ -36,7 +36,7 @@ fi
# Change ownership
if [ $(stat -c '%G' /usr/local/bin/striptracks.sh) != "users" ]; then
echo "Changing ownership on scripts."
chown root:users /usr/local/bin/striptracks*.sh
chown abc:abc /usr/local/bin/striptracks*.sh
fi
# Make executable