fix healthcheck and dockerfile label
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-07-22 00:45:00 +02:00
parent 29d9ea4193
commit 8d842b8393
2 changed files with 2 additions and 10 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:3.10.0
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.name="TT-RSS" \
org.label-schema.name="Kanboard" \
org.label-schema.version="1.2" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"

View File

@ -6,12 +6,4 @@ URL=http://localhost
wget --quiet --tries=1 --spider ${URL}
[ $? -ne 0 ] && exit 1
CONTENT=$(wget --quiet -O - ${URL})
case "$CONTENT" in
*Exception*) exit 1 ;;
*alert-*alert-*SELF_URL_PATH*) exit 1 ;;
*alert-*SELF_URL_PATH*alert-*) exit 1 ;;
*SELF_URL_PATH*alert-*alert-*) exit 1 ;;
esac
exit 0