mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-04 05:40:13 -05:00
Add podman release build tooling + misc build fixes (#1455)
This commit is contained in:
parent
344014aa81
commit
fa3266ca7f
90 changed files with 1207 additions and 3657 deletions
9
buildtools/containerfiles/debian.10.amd64
Normal file
9
buildtools/containerfiles/debian.10.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 debian:10 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.10.arm64
Normal file
9
buildtools/containerfiles/debian.10.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 debian:10 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.10.armhf
Normal file
9
buildtools/containerfiles/debian.10.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf debian:10 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.10.i386
Normal file
9
buildtools/containerfiles/debian.10.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 debian:10 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.11.amd64
Normal file
9
buildtools/containerfiles/debian.11.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 debian:11 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.11.arm64
Normal file
9
buildtools/containerfiles/debian.11.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 debian:11 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.11.armhf
Normal file
9
buildtools/containerfiles/debian.11.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf debian:11 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.11.i386
Normal file
9
buildtools/containerfiles/debian.11.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 debian:11 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.12.amd64
Normal file
9
buildtools/containerfiles/debian.12.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 debian:12 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.12.arm64
Normal file
9
buildtools/containerfiles/debian.12.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 debian:12 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.12.armhf
Normal file
9
buildtools/containerfiles/debian.12.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf debian:12 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.12.i386
Normal file
9
buildtools/containerfiles/debian.12.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 debian:12 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.9.amd64
Normal file
9
buildtools/containerfiles/debian.9.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 debian:9 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.9.arm64
Normal file
9
buildtools/containerfiles/debian.9.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 debian:9 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.9.armhf
Normal file
9
buildtools/containerfiles/debian.9.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf debian:9 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/debian.9.i386
Normal file
9
buildtools/containerfiles/debian.9.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 debian:9 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.37.amd64
Normal file
9
buildtools/containerfiles/fedora.37.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 fedora:37 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.37.arm64
Normal file
9
buildtools/containerfiles/fedora.37.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 fedora:37 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.37.armhf
Normal file
9
buildtools/containerfiles/fedora.37.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf fedora:37 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.37.i386
Normal file
9
buildtools/containerfiles/fedora.37.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 fedora:37 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.38.amd64
Normal file
9
buildtools/containerfiles/fedora.38.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 fedora:38 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.38.arm64
Normal file
9
buildtools/containerfiles/fedora.38.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 fedora:38 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.38.armhf
Normal file
9
buildtools/containerfiles/fedora.38.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf fedora:38 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.38.i386
Normal file
9
buildtools/containerfiles/fedora.38.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 fedora:38 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.39.amd64
Normal file
9
buildtools/containerfiles/fedora.39.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 fedora:39 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.40.amd64
Normal file
9
buildtools/containerfiles/fedora.40.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 fedora:40 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.41.amd64
Normal file
9
buildtools/containerfiles/fedora.41.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 fedora:41 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/fedora.42.amd64
Normal file
9
buildtools/containerfiles/fedora.42.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 fedora:42 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/rockylinux.8.amd64
Normal file
9
buildtools/containerfiles/rockylinux.8.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 rockylinux:8 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/rockylinux.8.arm64
Normal file
9
buildtools/containerfiles/rockylinux.8.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 rockylinux:8 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/rockylinux.8.armhf
Normal file
9
buildtools/containerfiles/rockylinux.8.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf rockylinux:8 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/rockylinux.8.i386
Normal file
9
buildtools/containerfiles/rockylinux.8.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 rockylinux:8 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/rockylinux.9.amd64
Normal file
9
buildtools/containerfiles/rockylinux.9.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 rockylinux:9 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/rockylinux.9.arm64
Normal file
9
buildtools/containerfiles/rockylinux.9.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 rockylinux:9 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/rockylinux.9.armhf
Normal file
9
buildtools/containerfiles/rockylinux.9.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf rockylinux:9 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/rockylinux.9.i386
Normal file
9
buildtools/containerfiles/rockylinux.9.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 rockylinux:9 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
13
buildtools/containerfiles/static.amd64
Normal file
13
buildtools/containerfiles/static.amd64
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
ARG BUILD_TIMESTAMP=0
|
||||
FROM --platform=linux/amd64 alpine:latest as build
|
||||
COPY install-build-pkgs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BRANCH=master
|
||||
RUN git clone https://github.com/trapexit/mergerfs /tmp/mergerfs -b "${BRANCH}"
|
||||
WORKDIR /tmp/mergerfs
|
||||
RUN make NDEBUG=1 LTO=1 STATIC=1 DESTDIR=/tmp -j$(nproc) install
|
||||
RUN mkdir /build
|
||||
RUN tar cvfz /build/mergerfs-static-linux_amd64.tar.gz --directory=/tmp usr sbin
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
13
buildtools/containerfiles/static.arm64
Normal file
13
buildtools/containerfiles/static.arm64
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
ARG BUILD_TIMESTAMP=0
|
||||
FROM --platform=linux/arm64 alpine:latest as build
|
||||
COPY install-build-pkgs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BRANCH=master
|
||||
RUN git clone https://github.com/trapexit/mergerfs /tmp/mergerfs -b "${BRANCH}"
|
||||
WORKDIR /tmp/mergerfs
|
||||
RUN make NDEBUG=1 LTO=1 STATIC=1 DESTDIR=/tmp -j$(nproc) install
|
||||
RUN mkdir /build
|
||||
RUN tar cvfz /build/mergerfs-static-linux_arm64.tar.gz --directory=/tmp usr sbin
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
13
buildtools/containerfiles/static.armhf
Normal file
13
buildtools/containerfiles/static.armhf
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
ARG BUILD_TIMESTAMP=0
|
||||
FROM --platform=linux/armhf alpine:latest as build
|
||||
COPY install-build-pkgs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BRANCH=master
|
||||
RUN git clone https://github.com/trapexit/mergerfs /tmp/mergerfs -b "${BRANCH}"
|
||||
WORKDIR /tmp/mergerfs
|
||||
RUN make NDEBUG=1 LTO=1 STATIC=1 DESTDIR=/tmp -j$(nproc) install
|
||||
RUN mkdir /build
|
||||
RUN tar cvfz /build/mergerfs-static-linux_armhf.tar.gz --directory=/tmp usr sbin
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
13
buildtools/containerfiles/static.i386
Normal file
13
buildtools/containerfiles/static.i386
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
ARG BUILD_TIMESTAMP=0
|
||||
FROM --platform=linux/i386 alpine:latest as build
|
||||
COPY install-build-pkgs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BRANCH=master
|
||||
RUN git clone https://github.com/trapexit/mergerfs /tmp/mergerfs -b "${BRANCH}"
|
||||
WORKDIR /tmp/mergerfs
|
||||
RUN make NDEBUG=1 LTO=1 STATIC=1 DESTDIR=/tmp -j$(nproc) install
|
||||
RUN mkdir /build
|
||||
RUN tar cvfz /build/mergerfs-static-linux_i386.tar.gz --directory=/tmp usr sbin
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
10
buildtools/containerfiles/static.installer
Normal file
10
buildtools/containerfiles/static.installer
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
ARG BUILD_TIMESTAMP=0
|
||||
FROM --platform=linux/amd64 ubuntu:latest as build
|
||||
RUN apt-get update && apt-get install -y makeself
|
||||
RUN mkdir -p /tmp/mergerfs/
|
||||
RUN --mount=type=bind,src=pkgs,dst=/pkgs ls -lhd /pkgs
|
||||
RUN --mount=type=bind,src=pkgs,dst=/pkgs cp -v /pkg/*static*.gz /tmp/mergerfs/
|
||||
RUN makeself /tmp/mergerfs/ /build/mergerfs-installer.run "mergerfs" echo "foo"
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
13
buildtools/containerfiles/tarball
Normal file
13
buildtools/containerfiles/tarball
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM debian:buster as tarball
|
||||
COPY install-build-pkgs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN git clone https://github.com/trapexit/mergerfs /tmp/mergerfs -b "${BRANCH}"
|
||||
RUN cd /tmp/mergerfs && make version tarball
|
||||
RUN mkdir /build
|
||||
RUN cp -v /tmp/mergerfs/*.tar.gz /build/
|
||||
|
||||
|
||||
FROM scratch
|
||||
COPY --from=tarball /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.18.04.amd64
Normal file
9
buildtools/containerfiles/ubuntu.18.04.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 ubuntu:18.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.18.04.arm64
Normal file
9
buildtools/containerfiles/ubuntu.18.04.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 ubuntu:18.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.18.04.armhf
Normal file
9
buildtools/containerfiles/ubuntu.18.04.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf ubuntu:18.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.18.04.i386
Normal file
9
buildtools/containerfiles/ubuntu.18.04.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 ubuntu:18.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.20.04.amd64
Normal file
9
buildtools/containerfiles/ubuntu.20.04.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 ubuntu:20.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.20.04.arm64
Normal file
9
buildtools/containerfiles/ubuntu.20.04.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 ubuntu:20.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.20.04.armhf
Normal file
9
buildtools/containerfiles/ubuntu.20.04.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf ubuntu:20.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.20.04.i386
Normal file
9
buildtools/containerfiles/ubuntu.20.04.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 ubuntu:20.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.22.04.amd64
Normal file
9
buildtools/containerfiles/ubuntu.22.04.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 ubuntu:22.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.22.04.arm64
Normal file
9
buildtools/containerfiles/ubuntu.22.04.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 ubuntu:22.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.22.04.armhf
Normal file
9
buildtools/containerfiles/ubuntu.22.04.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf ubuntu:22.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.22.04.i386
Normal file
9
buildtools/containerfiles/ubuntu.22.04.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 ubuntu:22.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.24.04.amd64
Normal file
9
buildtools/containerfiles/ubuntu.24.04.amd64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/amd64 ubuntu:24.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.24.04.arm64
Normal file
9
buildtools/containerfiles/ubuntu.24.04.arm64
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/arm64 ubuntu:24.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.24.04.armhf
Normal file
9
buildtools/containerfiles/ubuntu.24.04.armhf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/armhf ubuntu:24.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
9
buildtools/containerfiles/ubuntu.24.04.i386
Normal file
9
buildtools/containerfiles/ubuntu.24.04.i386
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM --platform=linux/i386 ubuntu:24.04 as build
|
||||
COPY install-build-pkgs build-mergerfs /tmp/
|
||||
RUN /tmp/install-build-pkgs
|
||||
ARG BUILD_TIMESTAMP=0
|
||||
ARG BRANCH=master
|
||||
RUN /tmp/build-mergerfs $BRANCH
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /build/ /
|
||||
Loading…
Add table
Add a link
Reference in a new issue