From 42d2316eb15128faa55e5dff1bce0e894d4863b1 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sun, 9 Oct 2022 18:49:03 -0500 Subject: [PATCH] chore(docker): Remove errors when PUID & PGID are specified It's been a sufficient amount of time since support for these variables has been removed; users should no longer require an explicit error to remind them to use `--user` from now on. Fixes #115. --- CHANGELOG.md | 4 ++++ docker/scripts/prod/entrypoint.sh | 10 ---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2277aa9c..85dcd25e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 grouped by their category, as determined by the tables at the top of the "Collection of custom formats" pages in the guide for each service. +### Changed + +- Docker: `PUID` and `PGID` no longer cause a failure on container start up. + ## [2.5.0] - 2022-09-11 ### Added diff --git a/docker/scripts/prod/entrypoint.sh b/docker/scripts/prod/entrypoint.sh index 5f161491..5f1ca250 100644 --- a/docker/scripts/prod/entrypoint.sh +++ b/docker/scripts/prod/entrypoint.sh @@ -1,16 +1,6 @@ #!/usr/bin/env bash set -e -if [[ ! -z ${PUID+x} ]]; then - echo 'PUID is no longer supported. Use `--user` instead.' - exit 1 -fi - -if [[ ! -z ${PGID+x} ]]; then - echo 'PGID is no longer supported. Use `--user` instead.' - exit 1 -fi - # If the script has any arguments, invoke the CLI instead if [ "$#" -gt 0 ]; then recyclarr "$@"