mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-20 00:17:43 +00:00
11 lines
407 B
Plaintext
11 lines
407 B
Plaintext
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/ /
|