mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
- Fix typo in static.installer: /pkg/ -> /pkgs/ - Add missing mkdir -p /build before makeself - Mount pkgs directory via podman build -v so static.installer can access previously built static tarballs without relying on bind mounts relative to the build context - Register qemu-user-static binfmt handlers for cross-compilation - Make --git-repo optional when using --setup
11 lines
354 B
Text
11 lines
354 B
Text
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 ls -lhd /pkgs
|
|
RUN cp -v /pkgs/*static*.gz /tmp/mergerfs/
|
|
RUN mkdir -p /build
|
|
RUN makeself /tmp/mergerfs/ /build/mergerfs-installer.run "mergerfs" echo "foo"
|
|
|
|
FROM scratch
|
|
COPY --from=build /build/ /
|