mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 18:06:27 -05:00
14 lines
356 B
Text
14 lines
356 B
Text
|
|
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/ /
|