mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-05-06 05:38:50 +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
|
FROM alpine AS depend
|
||||||
RUN apk update && apk add ca-certificates
|
RUN apk add --update --no-cache ca-certificates tzdata
|
||||||
|
|
||||||
FROM busybox:stable-musl
|
FROM busybox:stable-musl
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
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
|
COPY ./script/entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user