Skip to content

Commit

Permalink
update ks-tool to 0.0.70 (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
yudong2015 authored Dec 9, 2022
1 parent ce9ecf8 commit 1c43d66
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/dockerfiles/tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ RUN CGO_ENABLED=0 GO111MODULE=on go build -a -o jwt cmd/tools/jwt/jwt_cmd.go

FROM golang:1.16 as downloader
RUN go install github.com/linuxsuren/[email protected]
RUN http-downloader install kubesphere-sigs/[email protected].60
RUN http-downloader install kubesphere-sigs/[email protected].70

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot
WORKDIR /
COPY --from=builder /workspace/jwt .
COPY --from=builder /workspace/jwt /jwt
COPY --from=downloader /usr/local/bin/ks /usr/local/bin/ks
USER nonroot:nonroot

Expand Down

0 comments on commit 1c43d66

Please sign in to comment.