mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 02:48:59 -04:00
Add new OS build files
This commit is contained in:
parent
84e4cdeb7e
commit
a975e9505b
7 changed files with 63 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -37,7 +37,7 @@ TOUCH ?= touch
|
|||
BUILDDIR := build
|
||||
GITHUB_REPO ?= "https://github.com/trapexit/mergerfs"
|
||||
|
||||
DEFAULT_RELEASE_SAMPLE := debian:13.amd64
|
||||
DEFAULT_RELEASE := debian:13.amd64
|
||||
|
||||
ifndef GIT_REPO
|
||||
ifneq ($(shell $(GIT) --version 2> /dev/null),)
|
||||
|
|
@ -368,8 +368,8 @@ endef
|
|||
release:
|
||||
$(call build_release,"all")
|
||||
release-sample:
|
||||
$(if $(RELEASE_SAMPLE),,$(eval RELEASE_SAMPLE := $(shell ./buildtools/detect-local-target 2>/dev/null)))
|
||||
$(call build_release,$(if $(RELEASE_SAMPLE),$(RELEASE_SAMPLE),$(DEFAULT_RELEASE_SAMPLE)))
|
||||
$(if $(RELEASE),,$(eval RELEASE := $(shell ./buildtools/detect-local-target 2>/dev/null)))
|
||||
$(call build_release,$(if $(RELEASE),$(RELEASE),$(DEFAULT_RELEASE)))
|
||||
release-amd64:
|
||||
$(call build_release,"amd64")
|
||||
release-arm64:
|
||||
|
|
|
|||
10
buildtools/containerfiles/fedora:44.amd64
Normal file
10
buildtools/containerfiles/fedora:44.amd64
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM --platform=amd64 fedora:43 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/ /
|
||||
10
buildtools/containerfiles/fedora:44.arm64
Normal file
10
buildtools/containerfiles/fedora:44.arm64
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM --platform=arm64 fedora:43 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/ /
|
||||
10
buildtools/containerfiles/ubuntu:26.04.amd64
Normal file
10
buildtools/containerfiles/ubuntu:26.04.amd64
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM --platform=amd64 ubuntu:26.04 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/ /
|
||||
10
buildtools/containerfiles/ubuntu:26.04.arm64
Normal file
10
buildtools/containerfiles/ubuntu:26.04.arm64
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM --platform=arm64 ubuntu:26.04 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/ /
|
||||
10
buildtools/containerfiles/ubuntu:26.04.armhf
Normal file
10
buildtools/containerfiles/ubuntu:26.04.armhf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM --platform=armhf ubuntu:26.04 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/ /
|
||||
10
buildtools/containerfiles/ubuntu:26.04.riscv64
Normal file
10
buildtools/containerfiles/ubuntu:26.04.riscv64
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM --platform=riscv64 ubuntu:26.04 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/ /
|
||||
Loading…
Add table
Add a link
Reference in a new issue