Add Fedora 45 and Ubuntu 26.10 build targets

This commit is contained in:
Antonio SJ Musumeci 2026-11-02 18:57:58 -06:00
parent 1a152db265
commit 5d5d7af90b
9 changed files with 93 additions and 5 deletions

View file

@ -0,0 +1,10 @@
FROM --platform=amd64 fedora:45 as build
COPY install-build-pkgs build-mergerfs /tmp/
RUN /tmp/install-build-pkgs
ARG BUILD_TIMESTAMP=0
ARG GIT_REPO
ARG BRANCH
RUN /tmp/build-mergerfs $GIT_REPO $BRANCH
FROM scratch
COPY --from=build /build/ /

View file

@ -0,0 +1,10 @@
FROM --platform=arm64 fedora:45 as build
COPY install-build-pkgs build-mergerfs /tmp/
RUN /tmp/install-build-pkgs
ARG BUILD_TIMESTAMP=0
ARG GIT_REPO
ARG BRANCH
RUN /tmp/build-mergerfs $GIT_REPO $BRANCH
FROM scratch
COPY --from=build /build/ /

View file

@ -0,0 +1,10 @@
FROM --platform=amd64 ubuntu:26.10 as build
COPY install-build-pkgs build-mergerfs /tmp/
RUN /tmp/install-build-pkgs
ARG BUILD_TIMESTAMP=0
ARG GIT_REPO
ARG BRANCH
RUN /tmp/build-mergerfs $GIT_REPO $BRANCH
FROM scratch
COPY --from=build /build/ /

View file

@ -0,0 +1,10 @@
FROM --platform=arm64 ubuntu:26.10 as build
COPY install-build-pkgs build-mergerfs /tmp/
RUN /tmp/install-build-pkgs
ARG BUILD_TIMESTAMP=0
ARG GIT_REPO
ARG BRANCH
RUN /tmp/build-mergerfs $GIT_REPO $BRANCH
FROM scratch
COPY --from=build /build/ /

View file

@ -0,0 +1,10 @@
FROM --platform=armhf ubuntu:26.10 as build
COPY install-build-pkgs build-mergerfs /tmp/
RUN /tmp/install-build-pkgs
ARG BUILD_TIMESTAMP=0
ARG GIT_REPO
ARG BRANCH
RUN /tmp/build-mergerfs $GIT_REPO $BRANCH
FROM scratch
COPY --from=build /build/ /

View file

@ -0,0 +1,10 @@
FROM --platform=riscv64 ubuntu:26.10 as build
COPY install-build-pkgs build-mergerfs /tmp/
RUN /tmp/install-build-pkgs
ARG BUILD_TIMESTAMP=0
ARG GIT_REPO
ARG BRANCH
RUN /tmp/build-mergerfs $GIT_REPO $BRANCH
FROM scratch
COPY --from=build /build/ /

View file

@ -19,6 +19,10 @@ fedora:42 amd64
fedora:42 arm64
fedora:43 amd64
fedora:43 arm64
fedora:44 amd64
fedora:44 arm64
fedora:45 amd64
fedora:45 arm64
quay.io/rockylinux/rockylinux:10 amd64
quay.io/rockylinux/rockylinux:10 arm64
quay.io/rockylinux/rockylinux:8 amd64
@ -37,3 +41,15 @@ ubuntu:25.04 amd64
ubuntu:25.04 arm64
ubuntu:25.04 armhf
ubuntu:25.04 riscv64
ubuntu:25.10 amd64
ubuntu:25.10 arm64
ubuntu:25.10 armhf
ubuntu:25.10 riscv64
ubuntu:26.04 amd64
ubuntu:26.04 arm64
ubuntu:26.04 armhf
ubuntu:26.04 riscv64
ubuntu:26.10 amd64
ubuntu:26.10 arm64
ubuntu:26.10 armhf
ubuntu:26.10 riscv64

View file

@ -33,6 +33,18 @@ $ su -
# rpm -i rpmbuild/RPMS/<arch>/mergerfs-<version>.<arch>.rpm
```
Fedora 45 rejects unsigned RPMs by default. When installing a locally
built RPM that you trust, pass `--nosignature` to `rpm` to allow that
unsigned package.
## Container packages
Package build targets are defined in `buildtools/containerfiles/`, with
the standard distro targets listed in `buildtools/target-containers.txt`.
These include Fedora 45 on `amd64` and `arm64`, and Ubuntu 26.10 on
`amd64`, `arm64`, `armhf`, and `riscv64`. Foreign-architecture builds
require QEMU/binfmt support.
## Generic Linux
Have git, g++ or clang, make, python installed.

View file

@ -44,11 +44,11 @@ sudo dpkg -i mergerfs_<ver>.debian-<rel>_<arch>.deb
#### Ubuntu
Given non-LTS releases are rarely used for servers and only have [9
months of support](https://ubuntu.com/about/release-cycle) we do not
build packages for them by default. It is recommended that you first
try the `deb` file for the LTS release most closely related to your
non-LTS release. If that does not work you can use the [static
Package build targets include selected Ubuntu LTS and interim releases.
Check the [release assets](https://github.com/trapexit/mergerfs/releases)
for your Ubuntu version and architecture. If no matching package is
available, try the `deb` file for the LTS release most closely related
to your non-LTS release. If that does not work you can use the [static
build](#static-linux-binaries) or [file a
ticket](https://github.com/trapexit/mergerfs/issues) requesting a
package built.