mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
407 B
10 lines
407 B
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/ /
|