Skip to content

Commit

Permalink
dockerfile FROM alpine:3.13.12 AS build
Browse files Browse the repository at this point in the history
  • Loading branch information
huapox committed Dec 2, 2024
1 parent 547162b commit 46e8a69
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# FROM alpine:3 AS build #alpine镜像make报Operation not permitted https://blog.csdn.net/u014595589/article/details/118693759
FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.13.12 AS build
# FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.13.12 AS build
FROM alpine:3.13.12 AS build

# ARG VERSION="1.23.0"
# mainline > stableVer
Expand Down Expand Up @@ -162,7 +163,8 @@ RUN \
# FROM scratch
# FROM infrastlabs/alpine-ext:weak
# for x64/arm64
FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.13.12
# FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.13.12
FROM alpine:3.13.12

COPY --from=build --chown=10000:10000 /rootfs /rootfs
WORKDIR /rootfs/nginx
Expand Down

0 comments on commit 46e8a69

Please sign in to comment.