From 37a2c908e51d09d9764a0091d78efb61048fe423 Mon Sep 17 00:00:00 2001 From: Torsten Widmann Date: Sun, 1 Oct 2023 10:01:42 +0200 Subject: [PATCH] added apprise - fix timezone (#190) Co-authored-by: gOOvER <116325+gOOvER@users.noreply.github.com> --- apps/uptimekuma/Dockerfile | 4 ++++ apps/uptimekuma/entrypoint.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/uptimekuma/Dockerfile b/apps/uptimekuma/Dockerfile index 05e5ae098..f32bedeb2 100644 --- a/apps/uptimekuma/Dockerfile +++ b/apps/uptimekuma/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache \ libtool \ python3 \ python3-dev \ + py3-pip \ sqlite \ tzdata \ zip \ @@ -38,6 +39,9 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; e && curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCHITECTURE} -o /usr/bin/cloudflared RUN chmod +x /usr/bin/cloudflared +# install apprise +RUN pip install apprise + ## Setup user and working directory RUN adduser -D -h /home/container container -s /bin/bash container USER container diff --git a/apps/uptimekuma/entrypoint.sh b/apps/uptimekuma/entrypoint.sh index 200fb3ac9..e529b3a9a 100644 --- a/apps/uptimekuma/entrypoint.sh +++ b/apps/uptimekuma/entrypoint.sh @@ -26,7 +26,7 @@ echo -e "${BLUE}-------------------------------------------------${NC}" echo -e "${RED}Uptime Kuma Image${NC}" echo -e "${BLUE}-------------------------------------------------${NC}" echo -e "${YELLOW}Running on Alpine: ${RED} $(cat /etc/alpine-release)${NC}" -echo -e "${YELLOW}Current timezone: ${RED} $(cat /etc/localtime)${NC}" +echo -e "${YELLOW}Current timezone: ${RED} ${TZ} ${NC}" echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}" echo -e "${YELLOW}Cloudflared Version: ${RED} $(/usr/bin/cloudflared --version) ${NC}" echo -e "${BLUE}-------------------------------------------------${NC}"