Skip to content

Commit 8f031e0

Browse files
committed
rke2 upgrade
1 parent 9cf5c12 commit 8f031e0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@ RUN ~/.local/bin/uv sync --no-install-project --frozen &&\
1414
chown -R 1000:1000 /app
1515

1616
FROM $BASE_IMAGE
17-
RUN apt update && apt install -y rsync git
17+
ARG CEPH_VERSION=19.2.2
18+
ARG CEPH_RELEASE=squid
19+
RUN apt update && apt install -y rsync git gnupg2 curl ca-certificates lsb-release &&\
20+
curl -fsSL https://download.ceph.com/keys/release.asc | gpg --dearmor -o /usr/share/keyrings/ceph.gpg &&\
21+
echo "deb [signed-by=/usr/share/keyrings/ceph.gpg] https://download.ceph.com/debian-${CEPH_RELEASE}/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/ceph.list &&\
22+
apt update &&\
23+
apt install -y ceph-common=${CEPH_VERSION}-1* &&\
24+
rm -rf /var/lib/apt/lists/*
1825
COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/kubectl
1926
RUN useradd -m -s /bin/bash hasadna
2027
RUN mkdir /home/hasadna/app

0 commit comments

Comments
 (0)