added apprise - fix timezone (#190)

Co-authored-by: gOOvER <116325+gOOvER@users.noreply.github.com>
This commit is contained in:
Torsten Widmann
2023-10-01 10:01:42 +02:00
committed by GitHub
parent 1e054e321f
commit 37a2c908e5
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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}"