From 818060860094fcb6016d56f8d5ce2591e9a1f9c2 Mon Sep 17 00:00:00 2001
From: akwizgran <michael@briarproject.org>
Date: Mon, 4 Mar 2024 18:26:37 +0000
Subject: [PATCH] Use Debian bookworm to get a newer version of Go.

We need at least Go 1.17.13 to build Go 1.21.
---
 Dockerfile | 2 +-
 install.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 2b937f9..a4ec2ee 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM debian:bullseye
+FROM debian:bookworm
 
 ENV LANG=C.UTF-8
 ENV DEBIAN_FRONTEND=noninteractive
diff --git a/install.sh b/install.sh
index e12f52e..9b5be80 100755
--- a/install.sh
+++ b/install.sh
@@ -5,8 +5,8 @@ set -x
 # use snapshot repos for deterministic package versions
 DATE="20240301T000000Z"
 cat << EOF > /etc/apt/sources.list
-deb http://snapshot.debian.org/archive/debian/${DATE}/ bullseye main
-deb http://snapshot.debian.org/archive/debian/${DATE}/ bullseye-updates main
+deb http://snapshot.debian.org/archive/debian/${DATE}/ bookworm main
+deb http://snapshot.debian.org/archive/debian/${DATE}/ bookworm-updates main
 EOF
 
 # ignore expired package releases so we can reproduce from old snapshots
-- 
GitLab