Skip to content

Commit

Permalink
packaging: raspbian: support raspbian bookworm package creation (#9760)
Browse files Browse the repository at this point in the history
* packaging: raspbian: Add raspbian\bookworm package

Signed-off-by: Hiroshi Hatake <[email protected]>

* packaging: Update disto table for supported distros & versions

Signed-off-by: Hiroshi Hatake <[email protected]>

* packaging: Add raspbian/bookworm definition for building config

Signed-off-by: Hiroshi Hatake <[email protected]>

---------

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 authored Jan 6, 2025
1 parent 09214eb commit 68f1887
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ The [`distros`](./distros/) directory contains OCI container definitions used to
| Debian | 11 | arm64v8 | debian/bullseye.arm64v8 |
| Debian | 10 | x86_64 | debian/buster |
| Debian | 10 | arm64v8 | debian/buster.arm64v8 |
| Ubuntu | 24.04 / Noble Numbat | x86_64 | ubuntu/24.04 |
| Ubuntu | 24.04 / Noble Numbat | arm64v8 | ubuntu/24.04.arm64v8 |
| Ubuntu | 22.04 / Jammy Jellyfish | x86_64 | ubuntu/22.04 |
| Ubuntu | 22.04 / Jammy Jellyfish | arm64v8 | ubuntu/22.04.arm64v8 |
| Ubuntu | 20.04 / Focal Fossa | x86_64 | ubuntu/20.04 |
| Ubuntu | 20.04 / Focal Fossa | arm64v8 | ubuntu/20.04.arm64v8 |
| Ubuntu | 18.04 / Bionic Beaver | x86_64 | ubuntu/18.04 |
| Ubuntu | 18.04 / Bionic Beaver | arm64v8 | ubuntu/18.04.arm64v8 |
| Ubuntu | 16.04 / Xenial Xerus | x86_64 | ubuntu/16.04 |
| Raspbian | 12 / Bookworm | arm32v7 | raspbian/bookworm |
| Raspbian | 11 / Bullseye | arm32v7 | raspbian/bullseye |
| Raspbian | 10 / Buster | arm32v7 | raspbian/buster |

Expand Down
4 changes: 4 additions & 0 deletions packaging/build-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
{
"target": "raspbian/bullseye",
"type": "deb"
},
{
"target": "raspbian/bookworm",
"type": "deb"
}
],
"windows_targets" : [
Expand Down
13 changes: 13 additions & 0 deletions packaging/distros/raspbian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ RUN apt-get update && \
libsasl2-2 libsasl2-dev libyaml-dev pkg-config && \
apt-get install -y --reinstall lsb-base lsb-release

# raspbian/bookworm base image
FROM balenalib/rpi-raspbian:bookworm as raspbian-bookworm-base
ENV DEBIAN_FRONTEND noninteractive

# hadolint ignore=DL3008,DL3015
RUN apt-get update && \
apt-get install -y curl ca-certificates build-essential \
cmake make bash sudo wget unzip dh-make \
libsystemd-dev zlib1g-dev flex bison \
libssl3 libssl-dev libpq-dev postgresql-server-dev-all \
libsasl2-2 libsasl2-dev libyaml-dev pkg-config && \
apt-get install -y --reinstall lsb-base lsb-release

# Common build for all distributions now
# hadolint ignore=DL3006
FROM $BASE_BUILDER as builder
Expand Down

0 comments on commit 68f1887

Please sign in to comment.