Skip to content

Commit

Permalink
Dockerfile: Provide backup of district/static:nonroot image. radondb#287
Browse files Browse the repository at this point in the history
  • Loading branch information
runkecheng committed Nov 16, 2021
1 parent a83af5d commit 0026a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager cmd/manager/mai
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot
# If you make a image manually, the cn environment may not be able to access .io, you can switch to the following path
# FROM gcr.azk8s.cn/distroless/static:nonroot
# FROM radondb/distroless:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
USER 65532:65532
Expand Down

0 comments on commit 0026a18

Please sign in to comment.