Skip to content

Commit 155e74a

Browse files
committed
fix: build of kubelet with Ceph on arm64
Old release 'octopus' is EoL: https://docs.ceph.com/en/quincy/releases/index.html New releases pacific/quincy have a problem with arm64 packages: they are not built for arm64, which breaks the install. Use `ceph-common` from Debian for `ceph-common` on arm64 as a workaround for now. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
1 parent 94fbdbf commit 155e74a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ RUN clean-install \
5151
util-linux
5252

5353
RUN wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add -
54-
RUN echo deb https://download.ceph.com/debian-octopus/ bullseye main | tee /etc/apt/sources.list.d/ceph.list
54+
# TODO: Ceph packages are broken for arm64, so we used packages available in Debian itself for now
55+
ARG TARGETARCH
56+
RUN if [ ${TARGETARCH} == "amd64" ]; then echo deb https://download.ceph.com/debian-pacific/ bullseye main | tee /etc/apt/sources.list.d/ceph.list; fi
5557
RUN apt-get clean \
5658
&& clean-install ceph-common
5759

0 commit comments

Comments
 (0)