update build system and dependency configuration

This commit is contained in:
Antonio SJ Musumeci 2026-05-08 15:55:55 -05:00
parent ce3737ff33
commit fa41d7c13f
6 changed files with 56 additions and 38 deletions

View file

@ -18,7 +18,7 @@ def build(git_repo,
'--force-rm']
if os.path.exists(git_repo):
git_repo = os.path.realpath(git_repo)
args += ['-v',f'{git_repo}:/tmp/mergerfs.git:ro']
args += ['-v',f'{git_repo}:/tmp/mergerfs.git:ro:z']
args += ['--build-arg=GIT_REPO=file:///tmp/mergerfs.git']
else:
args += [f'--build-arg=GIT_REPO={git_repo}']

View file

@ -1,4 +1,4 @@
FROM --platform=amd64 fedora:43 as build
FROM --platform=amd64 fedora:44 as build
COPY install-build-pkgs build-mergerfs /tmp/
RUN /tmp/install-build-pkgs
ARG BUILD_TIMESTAMP=0

View file

@ -1,4 +1,4 @@
FROM --platform=arm64 fedora:43 as build
FROM --platform=arm64 fedora:44 as build
COPY install-build-pkgs build-mergerfs /tmp/
RUN /tmp/install-build-pkgs
ARG BUILD_TIMESTAMP=0