Skip to content

Commit bf1a7e5

Browse files
authored
build: add build support for ubuntu 24.04 noble numbat (#8796)
Signed-off-by: Markus Bergholz <[email protected]>
1 parent 43972bf commit bf1a7e5

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

packaging/build-config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@
9292
"target": "ubuntu/22.04.arm64v8",
9393
"type": "deb"
9494
},
95+
{
96+
"target": "ubuntu/24.04",
97+
"type": "deb"
98+
},
99+
{
100+
"target": "ubuntu/24.04.arm64v8",
101+
"type": "deb"
102+
},
95103
{
96104
"target": "raspbian/buster",
97105
"type": "deb"

packaging/distros/ubuntu/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,32 @@ ENV DEBIAN_FRONTEND noninteractive
114114

115115
COPY --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
116116

117+
# hadolint ignore=DL3008,DL3015
118+
RUN apt-get update && \
119+
apt-get install -y curl ca-certificates build-essential libsystemd-dev \
120+
cmake make bash wget unzip nano vim valgrind dh-make flex bison \
121+
libpq-dev postgresql-server-dev-all libpq5 \
122+
libsasl2-2 libsasl2-dev openssl libssl-dev libssl3 libyaml-dev pkg-config zlib1g-dev && \
123+
apt-get install -y --reinstall lsb-base lsb-release
124+
125+
# ubuntu/24.04 base image
126+
FROM ubuntu:24.04 as ubuntu-24.04-base
127+
ENV DEBIAN_FRONTEND noninteractive
128+
129+
# hadolint ignore=DL3008,DL3015
130+
RUN apt-get update && \
131+
apt-get install -y curl ca-certificates build-essential libsystemd-dev \
132+
cmake make bash wget unzip nano vim valgrind dh-make flex bison \
133+
libpq-dev postgresql-server-dev-all libpq5 \
134+
libsasl2-2 libsasl2-dev openssl libssl-dev libssl3 libyaml-dev pkg-config zlib1g-dev && \
135+
apt-get install -y --reinstall lsb-base lsb-release
136+
137+
# ubuntu/24.04.arm64v8 base image
138+
FROM arm64v8/ubuntu:24.04 as ubuntu-24.04.arm64v8-base
139+
ENV DEBIAN_FRONTEND noninteractive
140+
141+
COPY --from=multiarch-aarch64 /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
142+
117143
# hadolint ignore=DL3008,DL3015
118144
RUN apt-get update && \
119145
apt-get install -y curl ca-certificates build-essential libsystemd-dev \

packaging/update-repos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ DEB_REPO_PATHS=( "debian/bookworm"
5454
"ubuntu/bionic"
5555
"ubuntu/focal"
5656
"ubuntu/jammy"
57+
"ubuntu/noble"
5758
"raspbian/buster"
5859
"raspbian/bullseye" )
5960

0 commit comments

Comments
 (0)