From 508c35304f2e28e00df032fa7fc9daa21124f24e Mon Sep 17 00:00:00 2001
From: Andrej Shadura <andrew.shadura@collabora.co.uk>
Date: Thu, 31 Mar 2022 09:49:42 +0200
Subject: [PATCH] Build with bullseye by default

---
 Dockerfile.frontend-base | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Dockerfile.frontend-base b/Dockerfile.frontend-base
index 65a30c8997..b6b5467ccc 100644
--- a/Dockerfile.frontend-base
+++ b/Dockerfile.frontend-base
@@ -1,10 +1,15 @@
 ARG INSTALLDIR=/obs
-ARG DEBIAN_RELEASE=bookworm
+ARG DEBIAN_RELEASE=bullseye
 
 FROM debian:$DEBIAN_RELEASE-slim as base
 ENV LC_ALL=C.UTF-8
 ARG DEBIAN_FRONTEND=noninteractive
 ARG INSTALLDIR
+ARG DEBIAN_RELEASE
+
+# Enable backports for sphinxsearch
+RUN [ "$DEBIAN_RELEASE" != bullseye ] || \
+    echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list
 
 RUN apt-get update \
  && apt-get install -y \
-- 
GitLab