Compare commits
7 Commits
v0.1.0
...
21958a895e
| Author | SHA1 | Date | |
|---|---|---|---|
| 21958a895e | |||
| da34ef84e3 | |||
| fd7ffee647 | |||
| 13e943e32b | |||
| 1465691595 | |||
| 0f92c0443c | |||
| 1112e0c1f2 |
11
Dockerfile
11
Dockerfile
@@ -1,11 +1,8 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小
|
||||
RUN apt update \
|
||||
&& apt install -y curl \
|
||||
&& apt clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
FROM alpine:latest
|
||||
|
||||
# 安裝必要的工具
|
||||
RUN apk add --no-cache --no-check-certificate bash curl coreutils
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user