Skip to content
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
8 changes: 8 additions & 0 deletions packaging/build-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@
"target": "ubuntu/24.04.arm64v8",
"type": "deb"
},
{
"target": "ubuntu/26.04",
"type": "deb"
},
{
"target": "ubuntu/26.04.arm64v8",
"type": "deb"
},
{
"target": "raspbian/bookworm",
"type": "deb"
Expand Down
50 changes: 50 additions & 0 deletions packaging/distros/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,56 @@

ENV PATH="${CMAKE_HOME}/bin:${PATH}"

# ubuntu/26.04 base image
FROM ubuntu:26.04 AS ubuntu-26.04-base
ENV DEBIAN_FRONTEND="noninteractive" \
CMAKE_HOME="/opt/cmake"

ARG CMAKE_VERSION="3.31.6"
ARG CMAKE_URL="https://github.com/Kitware/CMake/releases/download"

# hadolint ignore=DL3008,DL3015
RUN apt-get update && \

Check warning on line 269 in packaging/distros/ubuntu/Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] packaging/distros/ubuntu/Dockerfile#L269 <DL4006>(https://github.com/hadolint/hadolint/wiki/DL4006)

Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
Raw output
message:"Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check" location:{path:"packaging/distros/ubuntu/Dockerfile" range:{start:{line:269 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL4006" url:"https://github.com/hadolint/hadolint/wiki/DL4006"}
apt-get install -y curl ca-certificates build-essential libsystemd-dev \
make bash wget unzip nano vim valgrind dh-make flex bison \
libpq-dev postgresql-server-dev-all libpq5 \
libsasl2-2 libsasl2-dev openssl libssl-dev libssl3 libcurl4-openssl-dev \
libyaml-dev pkg-config zlib1g-dev \
tar gzip && \
apt-get install -y --reinstall lsb-base lsb-release && \
mkdir -p "${CMAKE_HOME}" && \
cmake_download_url="https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-$(uname -m).tar.gz" && \
echo "Downloading CMake ${CMAKE_VERSION}: ${cmake_download_url} -> ${CMAKE_HOME}" && \
curl -jksSL "${cmake_download_url}" | tar -xzf - -C "${CMAKE_HOME}" --strip-components 1

ENV PATH="${CMAKE_HOME}/bin:${PATH}"

# ubuntu/26.04.arm64v8 base image
FROM arm64v8/ubuntu:26.04 AS ubuntu-26.04.arm64v8-base
ENV DEBIAN_FRONTEND="noninteractive" \
CMAKE_HOME="/opt/cmake"

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

ARG CMAKE_VERSION="3.31.6"
ARG CMAKE_URL="https://github.com/Kitware/CMake/releases/download"

# hadolint ignore=DL3008,DL3015
RUN apt-get update && \

Check warning on line 295 in packaging/distros/ubuntu/Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] packaging/distros/ubuntu/Dockerfile#L295 <DL4006>(https://github.com/hadolint/hadolint/wiki/DL4006)

Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
Raw output
message:"Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check" location:{path:"packaging/distros/ubuntu/Dockerfile" range:{start:{line:295 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL4006" url:"https://github.com/hadolint/hadolint/wiki/DL4006"}
apt-get install -y curl ca-certificates build-essential libsystemd-dev \
make bash wget unzip nano vim valgrind dh-make flex bison \
libpq-dev postgresql-server-dev-all libpq5 \
libsasl2-2 libsasl2-dev openssl libssl-dev libssl3 libcurl4-openssl-dev \
libyaml-dev pkg-config zlib1g-dev \
tar gzip && \
apt-get install -y --reinstall lsb-base lsb-release && \
mkdir -p "${CMAKE_HOME}" && \
cmake_download_url="https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-$(uname -m).tar.gz" && \
echo "Downloading CMake ${CMAKE_VERSION}: ${cmake_download_url} -> ${CMAKE_HOME}" && \
curl -jksSL "${cmake_download_url}" | tar -xzf - -C "${CMAKE_HOME}" --strip-components 1

ENV PATH="${CMAKE_HOME}/bin:${PATH}"

# Common build for all distributions now
# hadolint ignore=DL3006
FROM $BASE_BUILDER AS builder
Expand Down
1 change: 1 addition & 0 deletions packaging/update-repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ DEB_REPO_PATHS=( "debian/bookworm"
"debian/trixie"
"ubuntu/jammy"
"ubuntu/noble"
"ubuntu/resolute"
"raspbian/bookworm"
)

Expand Down
Loading