Skip to content

Commit

Permalink
Bump up local kube-apiserver version to 1.30.1 to keep it aligned wit…
Browse files Browse the repository at this point in the history
…h the go-client module
  • Loading branch information
kispaljr committed May 22, 2024
1 parent da9c821 commit 8aa0e94
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build/Dockerfile.apiserver
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
FROM golang:1.22.2-bookworm as builder

WORKDIR /workspace/src
RUN git clone https://github.com/kubernetes/kubernetes --branch v1.23.2 --depth=1
RUN git clone https://github.com/kubernetes/kubernetes --branch v1.30.1 --depth=1
WORKDIR /workspace/src/kubernetes
RUN apt-get update && apt-get install --yes rsync
RUN make generated_files
RUN CGO_ENABLED=0 go build -o /workspace/artifacts/kube-apiserver ./cmd/kube-apiserver
RUN make kube-apiserver

FROM gcr.io/distroless/static
COPY --from=builder /workspace/artifacts/kube-apiserver /kube-apiserver
COPY --from=builder /workspace/src/kubernetes/_output/local/bin/linux/amd64/kube-apiserver /kube-apiserver

#USER 65532:65532

Expand Down

0 comments on commit 8aa0e94

Please sign in to comment.