Adding tzdata lets the application follow the TZ environment variable and optimizes image builds.

This commit is contained in:
shinobi9 authored and GitHub committed 2026-01-09 18:10:41 +08:00
1 parent 2dc875817d
commit d73cf70db8
1 file changed
+2 -4
+2 -4
View File
@@ -9,10 +9,8 @@ RUN make build
FROM alpine
RUN apk add openssh
RUN mkdir /root/.ssh
WORKDIR /root/.ssh
RUN ssh-keygen -t rsa -C "chatkey" -f id_rsa
RUN apk add --no-cache openssh tzdata && \
ssh-keygen -t rsa -C "chatkey" -f /root/.ssh/id_rsa
WORKDIR /usr/local/bin