- 将 Dockerfile 中的基础镜像从 alpine:latest 改为 alpine - 减少镜像标签依赖,使用最新基础镜像版本
This commit is contained in:
1 parent
650c480416
commit
2786b011a8
1 file changed
+1
-1
+1
-1
@@ -18,7 +18,7 @@ RUN go env -w CGO_ENABLED=0 \
|
|||||||
&& go mod tidy \
|
&& go mod tidy \
|
||||||
&& go build -o dypid
|
&& go build -o dypid
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine
|
||||||
|
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user