Skip to content

Commit 46e8a69

Browse files
committed
dockerfile FROM alpine:3.13.12 AS build
1 parent 547162b commit 46e8a69

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# FROM alpine:3 AS build #alpine镜像make报Operation not permitted https://blog.csdn.net/u014595589/article/details/118693759
2-
FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.13.12 AS build
2+
# FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.13.12 AS build
3+
FROM alpine:3.13.12 AS build
34

45
# ARG VERSION="1.23.0"
56
# mainline > stableVer
@@ -162,7 +163,8 @@ RUN \
162163
# FROM scratch
163164
# FROM infrastlabs/alpine-ext:weak
164165
# for x64/arm64
165-
FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.13.12
166+
# FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.13.12
167+
FROM alpine:3.13.12
166168

167169
COPY --from=build --chown=10000:10000 /rootfs /rootfs
168170
WORKDIR /rootfs/nginx

0 commit comments

Comments
 (0)