mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-05-06 13:48:52 +00:00
fix: embed tzdata to correct container timezone (#1126)
Signed-off-by: honeok <i@honeok.com>
This commit is contained in:
+4
-3
@@ -1,12 +1,13 @@
|
||||
FROM alpine AS certs
|
||||
RUN apk update && apk add ca-certificates
|
||||
FROM alpine AS depend
|
||||
RUN apk add --update --no-cache ca-certificates tzdata
|
||||
|
||||
FROM busybox:stable-musl
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
|
||||
COPY --from=depend /etc/ssl/certs /etc/ssl/certs
|
||||
COPY --from=depend /usr/share/zoneinfo /usr/share/zoneinfo
|
||||
COPY ./script/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user