Skip to content

Commit bbd54c4

Browse files
committed
pkg(deb): add Raspbian Trixie and switch base image
balenalib/rpi-raspbian has been archived and not been updated since 2 years. The most downloaded Raspbian base container which provides Debian Trixie images and regular updates at time of writing is from tianon, which I hope is trustworthy enough. Now that Raspberry Pi OS Trixie has been released, a related Docker APT repository suite would help to address some of its limitations. Not sure about the impact, but for completeness, "linux/arm/v6" has been added to the compatible architectures of the Raspbian packages, which is the whole point of why Raspbian exists. Signed-off-by: MichaIng <[email protected]>
1 parent c6ebbab commit bbd54c4

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

docker-bake.hcl

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ variable "DISTROS" {
2222
"debian13",
2323
"raspbian11",
2424
"raspbian12",
25+
"raspbian13",
2526
"ubuntu2204",
2627
"ubuntu2404",
2728
"ubuntu2504",
@@ -221,7 +222,7 @@ target "_distro-raspbian11" {
221222
DISTRO_RELEASE = "raspbian"
222223
DISTRO_ID = "11"
223224
DISTRO_SUITE = "bullseye"
224-
DISTRO_IMAGE = DISTRO_IMAGE != null && DISTRO_IMAGE != "" ? DISTRO_IMAGE : "balenalib/rpi-raspbian:bullseye"
225+
DISTRO_IMAGE = DISTRO_IMAGE != null && DISTRO_IMAGE != "" ? DISTRO_IMAGE : "tianon/raspbian:bullseye"
225226
TEST_ONLY = "0"
226227
}
227228
}
@@ -233,7 +234,19 @@ target "_distro-raspbian12" {
233234
DISTRO_RELEASE = "raspbian"
234235
DISTRO_ID = "12"
235236
DISTRO_SUITE = "bookworm"
236-
DISTRO_IMAGE = DISTRO_IMAGE != null && DISTRO_IMAGE != "" ? DISTRO_IMAGE : "balenalib/rpi-raspbian:bookworm"
237+
DISTRO_IMAGE = DISTRO_IMAGE != null && DISTRO_IMAGE != "" ? DISTRO_IMAGE : "tianon/raspbian:bookworm"
238+
TEST_ONLY = "0"
239+
}
240+
}
241+
242+
target "_distro-raspbian13" {
243+
args = {
244+
DISTRO_NAME = "raspbian13"
245+
DISTRO_TYPE = "deb"
246+
DISTRO_RELEASE = "raspbian"
247+
DISTRO_ID = "13"
248+
DISTRO_SUITE = "trixie"
249+
DISTRO_IMAGE = DISTRO_IMAGE != null && DISTRO_IMAGE != "" ? DISTRO_IMAGE : "tianon/raspbian:trixie"
237250
TEST_ONLY = "0"
238251
}
239252
}
@@ -457,8 +470,9 @@ function "distroPlatforms" {
457470
debian11 = ["linux/386", "linux/amd64", "linux/arm64", "linux/arm/v7", "linux/mips64le", "linux/ppc64le", "linux/s390x"]
458471
debian12 = ["linux/386", "linux/amd64", "linux/arm64", "linux/arm/v7", "linux/mips64le", "linux/ppc64le", "linux/s390x"]
459472
debian13 = ["linux/386", "linux/amd64", "linux/arm64", "linux/arm/v7", "linux/mips64le", "linux/ppc64le", "linux/riscv64", "linux/s390x"]
460-
raspbian11 = ["linux/arm/v7"]
461-
raspbian12 = ["linux/arm/v7"]
473+
raspbian11 = ["linux/arm/v6", "linux/arm/v7"]
474+
raspbian12 = ["linux/arm/v6", "linux/arm/v7"]
475+
raspbian13 = ["linux/arm/v6", "linux/arm/v7"]
462476
ubuntu2204 = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/ppc64le", "linux/s390x"]
463477
ubuntu2404 = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/ppc64le", "linux/riscv64", "linux/s390x"]
464478
ubuntu2504 = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/ppc64le", "linux/riscv64", "linux/s390x"]

0 commit comments

Comments
 (0)