stud

study spacejunk
Log | Files | Refs | LICENSE

commit feaf76b3f37b91a80eb79fd7cf7763f41b34718f (tree)
parent 25ab3159c97cb22d0e6234bc02911bac4688e6d7
Author: Motiejus Jakštys <motiejus@uber.com>
Date:   Sun,  9 May 2021 17:11:54 +0300

add docs

Diffstat:
MIV/in-container | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/IV/in-container b/IV/in-container @@ -1,8 +1,16 @@ #!/bin/bash set -euo pipefail -NAME=wm-mj-build +# Prefix the 'make <...>' with this script to build the artifact in an isolated +# container. This means host dependencies can only be Docker and a shell (to +# run this script). +# +# Usage: +# ./in-container make help +# ./in-container make -j mj-msc-full.pdf +# ... +NAME=wm-mj-build if [[ -z "$(docker images -q --filter "reference=$NAME")" ]]; then docker build -t "$NAME" - < Dockerfile fi