#!/bin/sh ctr=$(buildah from alpine:latest) mnt=$(buildah mount "$ctr") mkdir -p "$mnt/srv/tcms" "$mnt/tmp/tcms" cp -R bin/ config/ data/ www/ lib "$mnt/srv/tcms"; cp Makefile.PL "$mnt/tmp/tcms/" make -C "$mnt/srv/tcms" --makefile "$PWD/Makefile" prereq-frontend reset-dummy-data buildah run -- $ctr sh <