From 2ef3f012c9c9628a8d8b016b9d9e184a8ec291a9 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 3 Mar 2026 20:09:12 +0300 Subject: [PATCH] Fix Docker builds --- csi/Dockerfile | 4 ++-- csi/Dockerfile.local | 8 ++++---- docker/etc/apt/preferences | 2 +- docker/etc/apt/sources.list.d/vitastor.list | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/csi/Dockerfile b/csi/Dockerfile index 8d82b1b2..b4b70041 100644 --- a/csi/Dockerfile +++ b/csi/Dockerfile @@ -25,8 +25,8 @@ RUN apt-get update && \ # NFS mount dependencies nfs-common netbase \ # dependencies of qemu-storage-daemon - libnuma1 liburing2 libglib2.0-0 libfuse3-3 libaio1 libzstd1 libnettle8 \ - libgmp10 libhogweed6 libp11-kit0 libidn2-0 libunistring2 libtasn1-6 libpcre2-8-0 libffi8 && \ + libaio1t64 libc6 libfuse3-4 libglib2.0-0t64 libgmp10 libgnutls30t64 \ + libhogweed6t64 libnettle8t64 libnuma1 libselinux1 liburing2 libzstd1 zlib1g && \ apt-get clean && \ (echo options nbd nbds_max=128 > /etc/modprobe.d/nbd.conf) diff --git a/csi/Dockerfile.local b/csi/Dockerfile.local index f9889cbe..521c47ca 100644 --- a/csi/Dockerfile.local +++ b/csi/Dockerfile.local @@ -1,5 +1,5 @@ # Compile stage -FROM golang:bookworm AS build +FROM golang:trixie AS build ADD go.sum go.mod /app/ RUN cd /app; CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go mod download -x @@ -9,7 +9,7 @@ RUN perl -i -e '$/ = undef; while(<>) { s/\n\s*(\{\s*\n)/$1\n/g; s/\}(\s*\n\s*)e CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o vitastor-csi # Final stage -FROM debian:bookworm +FROM debian:trixie LABEL maintainers="Vitaliy Filippov " LABEL description="Vitastor CSI Driver" @@ -36,8 +36,8 @@ ADD deb /deb RUN apt-get update && \ apt-get -y install /deb/vitastor-client_*.deb && \ - wget https://vitastor.io/archive/qemu/qemu-bookworm-9.2.2%2Bds-1%2Bvitastor4/qemu-utils_9.2.2%2Bds-1%2Bvitastor4_amd64.deb && \ - wget https://vitastor.io/archive/qemu/qemu-bookworm-9.2.2%2Bds-1%2Bvitastor4/qemu-block-extra_9.2.2%2Bds-1%2Bvitastor4_amd64.deb && \ + wget https://vitastor.io/archive/qemu/qemu-trixie-9.2.2%2Bds-1%2Bvitastor4/qemu-utils_9.2.2%2Bds-1%2Bvitastor4_amd64.deb && \ + wget https://vitastor.io/archive/qemu/qemu-trixie-9.2.2%2Bds-1%2Bvitastor4/qemu-block-extra_9.2.2%2Bds-1%2Bvitastor4_amd64.deb && \ dpkg -x qemu-utils*.deb tmp1 && \ dpkg -x qemu-block-extra*.deb tmp1 && \ cp -a tmp1/usr/bin/qemu-storage-daemon /usr/bin/ && \ diff --git a/docker/etc/apt/preferences b/docker/etc/apt/preferences index 63b9880b..85c0892a 100644 --- a/docker/etc/apt/preferences +++ b/docker/etc/apt/preferences @@ -1,3 +1,3 @@ Package: * -Pin: release n=bookworm-backports +Pin: release n=trixie-backports Pin-Priority: 500 diff --git a/docker/etc/apt/sources.list.d/vitastor.list b/docker/etc/apt/sources.list.d/vitastor.list index aea58a13..15a75af2 100644 --- a/docker/etc/apt/sources.list.d/vitastor.list +++ b/docker/etc/apt/sources.list.d/vitastor.list @@ -1,2 +1,2 @@ -deb http://vitastor.io/debian bookworm main -deb http://http.debian.net/debian/ bookworm-backports main +deb http://vitastor.io/debian trixie main +#deb http://http.debian.net/debian/ trixie-backports main