build: improve system compatibility and performance (#274)

- Add `tzdata` package to the Dockerfile

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2024-06-01 09:29:39 +08:00
committed by GitHub
parent 5401378058
commit 2e8030ff52

View File

@@ -12,7 +12,7 @@ LABEL org.opencontainers.image.source=https://github.com/appleboy/drone-ssh
LABEL org.opencontainers.image.description="Execute commands on a remote host through SSH" LABEL org.opencontainers.image.description="Execute commands on a remote host through SSH"
LABEL org.opencontainers.image.licenses=MIT LABEL org.opencontainers.image.licenses=MIT
RUN apk add --no-cache ca-certificates && \ RUN apk add --no-cache ca-certificates tzdata && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
RUN addgroup \ RUN addgroup \