added apprise - fix timezone (#190)
Co-authored-by: gOOvER <116325+gOOvER@users.noreply.github.com>
This commit is contained in:
@@ -24,6 +24,7 @@ RUN apk add --no-cache \
|
|||||||
libtool \
|
libtool \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
|
py3-pip \
|
||||||
sqlite \
|
sqlite \
|
||||||
tzdata \
|
tzdata \
|
||||||
zip \
|
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
|
&& curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCHITECTURE} -o /usr/bin/cloudflared
|
||||||
RUN chmod +x /usr/bin/cloudflared
|
RUN chmod +x /usr/bin/cloudflared
|
||||||
|
|
||||||
|
# install apprise
|
||||||
|
RUN pip install apprise
|
||||||
|
|
||||||
## Setup user and working directory
|
## Setup user and working directory
|
||||||
RUN adduser -D -h /home/container container -s /bin/bash container
|
RUN adduser -D -h /home/container container -s /bin/bash container
|
||||||
USER container
|
USER container
|
||||||
|
@@ -26,7 +26,7 @@ echo -e "${BLUE}-------------------------------------------------${NC}"
|
|||||||
echo -e "${RED}Uptime Kuma Image${NC}"
|
echo -e "${RED}Uptime Kuma Image${NC}"
|
||||||
echo -e "${BLUE}-------------------------------------------------${NC}"
|
echo -e "${BLUE}-------------------------------------------------${NC}"
|
||||||
echo -e "${YELLOW}Running on Alpine: ${RED} $(cat /etc/alpine-release)${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}NodeJS Version: ${RED} $(node -v) ${NC}"
|
||||||
echo -e "${YELLOW}Cloudflared Version: ${RED} $(/usr/bin/cloudflared --version) ${NC}"
|
echo -e "${YELLOW}Cloudflared Version: ${RED} $(/usr/bin/cloudflared --version) ${NC}"
|
||||||
echo -e "${BLUE}-------------------------------------------------${NC}"
|
echo -e "${BLUE}-------------------------------------------------${NC}"
|
||||||
|
Reference in New Issue
Block a user