fix: docker image (#418)

This commit is contained in:
UUBulb
2024-09-02 23:19:43 +08:00
committed by GitHub
parent 23751440c6
commit 3f6112a919

View File

@@ -1,8 +1,12 @@
FROM alpine AS certs
RUN apk update && apk add ca-certificates
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 ./script/entrypoint.sh /entrypoint.sh COPY ./script/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh