You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
563 B
11 lines
563 B
FROM golang:1.18-alpine
|
|
|
|
WORKDIR /kind
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
|
RUN apk add --no-cache \
|
|
bash curl docker make
|
|
|
|
# Install kubectl and make sure it's available in the PATH.
|
|
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl && chmod +x ./kubectl && mv ./kubectl /bin
|
|
|
|
RUN curl -Lo ./kind "https://kind.sigs.k8s.io/dl/v0.16.0/kind-$(uname)-amd64" && chmod +x ./kind && mv ./kind /bin |