From f78508b9103dd54fa1d41cf18684b4856b91a0cf Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 14 May 2024 07:38:26 +0200 Subject: [PATCH] disable debug mode by default --- Dockerfile | 2 +- gitea-package.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa56764..a48be7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.authors="marco@ocram85.com" #ENV PLUGIN_FILE_NAME #ENV PLUGIN_UPDATE -ENV PLUGIN_DEBUG="1" +#ENV PLUGIN_DEBUG="1" USER root COPY --chown=100:101 --chmod=755 ./gitea-package.sh /app/gitea-package.sh #RUN [ "chmod", "+x", "/app/gitea-package.sh" ] diff --git a/gitea-package.sh b/gitea-package.sh index ddfbecb..7d37b5a 100755 --- a/gitea-package.sh +++ b/gitea-package.sh @@ -56,10 +56,9 @@ main() { if [ -n "$PLUGIN_DEBUG" ]; then sayW "Debug mode enabled." showSettings + sayW "Available ENV vars:" showENV exit 0 - else - sayW "Debug mode disabled." fi }