Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packaging: raspbian: support raspbian bookworm package creation #9760

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading