mergerfs/buildtools/build-containerimage
trapexit dc486e79ce
Some checks failed
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled
Add container image building (#1568)
2025-11-06 23:39:05 -06:00

15 lines
320 B
Bash
Executable file

#!/bin/sh
GIT_BRANCH="${1:-master}"
podman \
build \
--squash \
--no-cache \
--force-rm \
--build-arg="GIT_REPO=file:///mnt" \
--build-arg="BRANCH=${GIT_BRANCH}" \
-v "${PWD}":/mnt:ro \
-f "buildtools/containerimage/Containerfile" \
--tag "mergerfs:${GIT_BRANCH}" \
buildtools/