-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathDockerfile.arm64
36 lines (30 loc) · 1.07 KB
/
Dockerfile.arm64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM docker.io/alpine:3.21 AS fetcher
LABEL maintainer="Dalton Hubble <[email protected]>"
ARG KUBELET=v1.32.0
ARG ARCH=arm64
ARG SHA=d6708bf5e5c9e70242af57b20bf64396d419fc6654c090741c508d4c265717b0a1d6e8948de5d6927dd356f22c2085607f7b9549bb0f4ee7aafcb3b2f4b862b3
RUN apk add curl && \
curl -L https://dl.k8s.io/${KUBELET}/kubernetes-node-linux-${ARCH}.tar.gz -o node.tar.gz && \
echo "${SHA} node.tar.gz" | sha512sum -c && \
tar xzf node.tar.gz kubernetes/node/bin/kubectl kubernetes/node/bin/kubelet
FROM us.gcr.io/k8s-artifacts-prod/build-image/debian-iptables:bullseye-v1.5.5
LABEL maintainer="Dalton Hubble <[email protected]>"
RUN clean-install --allow-change-held-packages libcap2
RUN clean-install \
bash \
ca-certificates \
ceph-common \
cifs-utils \
e2fsprogs \
xfsprogs \
ethtool \
glusterfs-client \
iproute2 \
jq \
nfs-common \
socat \
udev \
util-linux
COPY --from=fetcher /kubernetes/node/bin/kubelet /usr/local/bin/kubelet
COPY --from=fetcher /kubernetes/node/bin/kubectl /usr/local/bin/kubectl
ENTRYPOINT ["/usr/local/bin/kubelet"]