From d3abfab99a369d6aee7af71edcb14499bc2430eb Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 20 Mar 2026 15:56:46 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=94=B9=E7=94=A8=20ubuntu=20=E5=98=97?= =?UTF-8?q?=E8=A9=A6=E5=9F=B7=E8=A1=8C=E8=85=B3=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ad1c72..4f7f3c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM alpine:latest +FROM ubuntu:latest -# 更新並安裝必要的工具 -RUN apk update \ - && apk add --no-cache curl jq bash +# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小 +RUN apt update \ + && apt install -y curl jq unzip \ + && rm -rf /var/lib/apt/lists/* COPY entrypoint.sh /entrypoint.sh -- 2.48.1