Skip to content

Commit

Permalink
update kubeasz-ext-bin 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Oct 31, 2024
1 parent 557acbc commit 1d31219
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# @author: gjmzj
# @repo: https://github.com/easzlab/dockerfile-kubeasz-ext-bin
# @ref: https://github.com/kubernetes/kubernetes/blob/master/build/dependencies.yaml
# build use golang:1.21
FROM golang:1.21 as builder
ENV CFSSL_VER=v1.6.4
# build use golang:1.22
FROM golang:1.22 as builder
ENV CFSSL_VER=v1.6.5
RUN set -x \
&& mkdir -p /ext-bin \
&& git config --global advice.detachedHead false \
Expand All @@ -15,25 +15,25 @@ RUN set -x \
&& go build -tags 'netgo,osusergo,sqlite_omit_load_extension' -ldflags '-s -w -extldflags "-static"' cmd/cfssl-certinfo/cfssl-certinfo.go \
&& mv cfssljson cfssl-certinfo cfssl /ext-bin

# downloader use golang:1.21
FROM golang:1.21 as downloader
ENV CNI_VER=v1.4.1
ENV HELM_VER=v3.14.4
ENV CRICTL_VER=v1.30.0
ENV RUNC_VER=v1.1.12
ENV CONTAINERD_VER=1.7.17
ENV DOCKER_COMPOSE_VER=v2.24.7
# downloader use golang:1.22
FROM golang:1.22 as downloader
ENV CNI_VER=v1.6.0
ENV HELM_VER=v3.16.2
ENV CRICTL_VER=v1.31.1
ENV RUNC_VER=v1.1.15
ENV CONTAINERD_VER=1.7.23
ENV DOCKER_COMPOSE_VER=v2.30.1
COPY multi-platform-download.sh .
RUN sh -x ./multi-platform-download.sh

# release image
FROM alpine:3.16
ENV EXT_BIN_VER=1.10.1
ENV EXT_BIN_VER=1.11.0

# https://github.com/etcd-io/etcd
COPY --from=quay.io/coreos/etcd:v3.5.12 /usr/local/bin/etcdctl /usr/local/bin/etcd /extra/
COPY --from=quay.io/coreos/etcd:v3.5.16 /usr/local/bin/etcdctl /usr/local/bin/etcd /extra/
# https://docs.tigera.io/calico/latest/about/
COPY --from=calico/ctl:v3.26.4 /calicoctl /extra/
COPY --from=calico/ctl:v3.28.2 /calicoctl /extra/
COPY --from=easzlab/kubeasz-ext-build:1.3.0 /ext-bin/* /extra/
COPY --from=builder /ext-bin/* /extra/
COPY --from=downloader /ext-bin/* /extra/
Expand Down

0 comments on commit 1d31219

Please sign in to comment.