Skip to content

Commit

Permalink
update ks-tool to 0.0.70 (#928)
Browse files Browse the repository at this point in the history
Co-authored-by: jackyu <[email protected]>
  • Loading branch information
ks-ci-bot and yudong2015 authored Mar 24, 2023
1 parent cdbe671 commit c12ae53
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.17 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 c12ae53

Please sign in to comment.