generated from Templates/Baseline
parent
a08e397b7d
commit
9dba2b27d8
11
Dockerfile
11
Dockerfile
@ -1,11 +1,12 @@
|
|||||||
FROM curlimages/curl:8.7.1
|
FROM curlimages/curl:8.7.1
|
||||||
|
|
||||||
ENV PLUGIN_OWNER
|
#ENV PLUGIN_OWNER
|
||||||
ENV PLUGIN_PACKAGE_NAME
|
#ENV PLUGIN_PACKAGE_NAME
|
||||||
ENV PLUGIN_PACKAGE_VERSION
|
#ENV PLUGIN_PACKAGE_VERSION
|
||||||
ENV PLUGIN_FILE_NAME
|
#ENV PLUGIN_FILE_NAME
|
||||||
|
|
||||||
ENV PLUGIN_UPDATE
|
#ENV PLUGIN_UPDATE
|
||||||
|
ENV PLUGIN_DEBUG="1"
|
||||||
|
|
||||||
COPY gitea-package.sh /app
|
COPY gitea-package.sh /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -43,6 +43,11 @@ showENV () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
if [ -n "$PLUGIN_DEBUG" ]; then
|
||||||
|
echo
|
||||||
|
else
|
||||||
|
sayW "Debug mode disabled."
|
||||||
|
fi
|
||||||
showENV
|
showENV
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user