From d73cf70db8aadbc12d3a056fabca118b3920453b Mon Sep 17 00:00:00 2001 From: shinobi9 <68454037+shinobi9@users.noreply.github.com> Date: Fri, 9 Jan 2026 18:10:41 +0800 Subject: [PATCH] Adding tzdata lets the application follow the TZ environment variable and optimizes image builds. --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5265a7b..e6dd866 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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