From d1bb85dbff8f808b2d88da6a44d384194b151ea8 Mon Sep 17 00:00:00 2001 From: YANGJINZE Date: Thu, 15 Jan 2026 09:38:21 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B0=83=E6=95=B4=E3=80=91=E5=9C=A8?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E8=BF=87=E7=A8=8B=E4=B8=AD=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=20allinssl.sh=20=E8=84=9A=E6=9C=AC=EF=BC=8C=E5=B9=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20Dockerfile=20=E4=BB=A5=E5=A4=8D=E5=88=B6=E8=AF=A5?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yml | 1 + Dockerfile | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e0f50af..eb8e3b6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -7,6 +7,7 @@ archives: name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" files: - LICENSE + - script/allinssl.sh checksum: name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt" builds: diff --git a/Dockerfile b/Dockerfile index 4985d00..dda8cd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,11 @@ WORKDIR /www/allinssl/ # Install runtime dependencies RUN apk add --no-cache tzdata -# Copy binary from builder +# Copy binary and script from builder COPY --from=builder /build/allinssl /www/allinssl/allinssl +COPY --from=builder /build/script/allinssl.sh /www/allinssl/allinssl.sh + +RUN chmod +x /www/allinssl/allinssl.sh ENV TZ=Asia/Shanghai RUN cat > /entrypoint.sh <<'EOF'