generated from Templates/Baseline
disable debug mode by default
This commit is contained in:
parent
8a94b09c87
commit
f78508b910
@ -6,7 +6,7 @@ LABEL org.opencontainers.image.authors="marco@ocram85.com"
|
|||||||
#ENV PLUGIN_FILE_NAME
|
#ENV PLUGIN_FILE_NAME
|
||||||
|
|
||||||
#ENV PLUGIN_UPDATE
|
#ENV PLUGIN_UPDATE
|
||||||
ENV PLUGIN_DEBUG="1"
|
#ENV PLUGIN_DEBUG="1"
|
||||||
USER root
|
USER root
|
||||||
COPY --chown=100:101 --chmod=755 ./gitea-package.sh /app/gitea-package.sh
|
COPY --chown=100:101 --chmod=755 ./gitea-package.sh /app/gitea-package.sh
|
||||||
#RUN [ "chmod", "+x", "/app/gitea-package.sh" ]
|
#RUN [ "chmod", "+x", "/app/gitea-package.sh" ]
|
||||||
|
@ -56,10 +56,9 @@ main() {
|
|||||||
if [ -n "$PLUGIN_DEBUG" ]; then
|
if [ -n "$PLUGIN_DEBUG" ]; then
|
||||||
sayW "Debug mode enabled."
|
sayW "Debug mode enabled."
|
||||||
showSettings
|
showSettings
|
||||||
|
sayW "Available ENV vars:"
|
||||||
showENV
|
showENV
|
||||||
exit 0
|
exit 0
|
||||||
else
|
|
||||||
sayW "Debug mode disabled."
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user