2 Commits

Author SHA1 Message Date
Jeffery
5c97ceada7 feat: 安裝缺少的工具 2026-03-26 09:31:10 +08:00
Jeffery
0a1971441e feat: 將基底映象檔改為 ubuntu 讓基礎指令可以使用 2026-03-26 09:28:36 +08:00

View File

@@ -1,8 +1,11 @@
FROM alpine:latest FROM ubuntu:latest
# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小
RUN apt update \
&& apt install -y curl \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
# 安裝必要的工具
RUN apk add --no-cache --no-check-certificate bash curl coreutils
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh