From 74b88bf8bac2862965bad6a9ac18d8823c5ce1e7 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 14 Jul 2024 20:25:36 +0300 Subject: [PATCH] Use own repo instead of buster-backports as it is EOL --- debian/vitastor.Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/vitastor.Dockerfile b/debian/vitastor.Dockerfile index 82881c6c..20c845e4 100644 --- a/debian/vitastor.Dockerfile +++ b/debian/vitastor.Dockerfile @@ -9,7 +9,14 @@ ARG REL= WORKDIR /root -RUN if [ "$REL" = "buster" -o "$REL" = "bullseye" ]; then \ +RUN set -e -x; \ + if [ "$REL" = "buster" ]; then \ + apt-get update; \ + apt-get -y install wget; \ + wget https://vitastor.io/debian/pubkey.gpg -O /etc/apt/trusted.gpg.d/vitastor.gpg; \ + echo "deb https://vitastor.io/debian $REL main" >> /etc/apt/sources.list; \ + fi; \ + if [ "$REL" = "bullseye" ]; then \ echo "deb http://deb.debian.org/debian $REL-backports main" >> /etc/apt/sources.list; \ echo >> /etc/apt/preferences; \ echo 'Package: *' >> /etc/apt/preferences; \