Skip to content

Commit 68f1887

Browse files
authored
packaging: raspbian: support raspbian bookworm package creation (#9760)
* packaging: raspbian: Add raspbian\bookworm package Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io> * packaging: Update disto table for supported distros & versions Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io> * packaging: Add raspbian/bookworm definition for building config Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io> --------- Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent 09214eb commit 68f1887

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

packaging/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,16 @@ The [`distros`](./distros/) directory contains OCI container definitions used to
2727
| Debian | 11 | arm64v8 | debian/bullseye.arm64v8 |
2828
| Debian | 10 | x86_64 | debian/buster |
2929
| Debian | 10 | arm64v8 | debian/buster.arm64v8 |
30+
| Ubuntu | 24.04 / Noble Numbat | x86_64 | ubuntu/24.04 |
31+
| Ubuntu | 24.04 / Noble Numbat | arm64v8 | ubuntu/24.04.arm64v8 |
3032
| Ubuntu | 22.04 / Jammy Jellyfish | x86_64 | ubuntu/22.04 |
3133
| Ubuntu | 22.04 / Jammy Jellyfish | arm64v8 | ubuntu/22.04.arm64v8 |
3234
| Ubuntu | 20.04 / Focal Fossa | x86_64 | ubuntu/20.04 |
3335
| Ubuntu | 20.04 / Focal Fossa | arm64v8 | ubuntu/20.04.arm64v8 |
3436
| Ubuntu | 18.04 / Bionic Beaver | x86_64 | ubuntu/18.04 |
3537
| Ubuntu | 18.04 / Bionic Beaver | arm64v8 | ubuntu/18.04.arm64v8 |
3638
| Ubuntu | 16.04 / Xenial Xerus | x86_64 | ubuntu/16.04 |
39+
| Raspbian | 12 / Bookworm | arm32v7 | raspbian/bookworm |
3740
| Raspbian | 11 / Bullseye | arm32v7 | raspbian/bullseye |
3841
| Raspbian | 10 / Buster | arm32v7 | raspbian/buster |
3942

packaging/build-config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
{
108108
"target": "raspbian/bullseye",
109109
"type": "deb"
110+
},
111+
{
112+
"target": "raspbian/bookworm",
113+
"type": "deb"
110114
}
111115
],
112116
"windows_targets" : [

packaging/distros/raspbian/Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ RUN apt-get update && \
3434
libsasl2-2 libsasl2-dev libyaml-dev pkg-config && \
3535
apt-get install -y --reinstall lsb-base lsb-release
3636

37+
# raspbian/bookworm base image
38+
FROM balenalib/rpi-raspbian:bookworm as raspbian-bookworm-base
39+
ENV DEBIAN_FRONTEND noninteractive
40+
41+
# hadolint ignore=DL3008,DL3015
42+
RUN apt-get update && \
43+
apt-get install -y curl ca-certificates build-essential \
44+
cmake make bash sudo wget unzip dh-make \
45+
libsystemd-dev zlib1g-dev flex bison \
46+
libssl3 libssl-dev libpq-dev postgresql-server-dev-all \
47+
libsasl2-2 libsasl2-dev libyaml-dev pkg-config && \
48+
apt-get install -y --reinstall lsb-base lsb-release
49+
3750
# Common build for all distributions now
3851
# hadolint ignore=DL3006
3952
FROM $BASE_BUILDER as builder

0 commit comments

Comments
 (0)