docker-mods/Dockerfile
TheCaptain989 4a307cde0c radarr: striptracks Release 2.4
## What's Changed
- **New:** Video remux is now skipped if no tracks will be removed and if file is already an MKV (issue thecaptain989/striptracks#49)
- **New:** Calls the Radarr/Sonarr rename API if required by Movie/Episode naming rules (issue thecaptain989/striptracks#50)
- **New:** Now uses the Radarr/Sonarr API to delete or recycle old videos
- Improved some code that handles differences between Radarr and Sonarr
- All API calls are now functions
- Fixed the detection of all Norwegian codes
- Fixed logging of curl errors and improved error handling
- Removed rescan loop
- Added check for 'queued'  job status
- More consistent ending of script
2023-08-27 15:57:45 -05:00

25 lines
568 B
Docker

# syntax=docker/dockerfile:1
## Buildstage ##
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
ARG MOD_VERSION
# copy local files
COPY root/ /root-layer/
# Add version to script
RUN \
MOD_VERSION="${MOD_VERSION:-unknown}" && \
sed -i -e "s/{{VERSION}}/$MOD_VERSION/" \
/root-layer/usr/local/bin/striptracks.sh \
/root-layer/etc/s6-overlay/s6-rc.d/init-mod-radarr-striptracks-add-package/run
## Single layer deployed image ##
FROM scratch
LABEL maintainer="TheCaptain989"
# Add files from buildstage
COPY --from=buildstage /root-layer/ /