Tonis Tiigi de88f925d4 add container based dev flow
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-26 10:10:26 -07:00

7 lines
200 B
Bash
Executable File

#!/usr/bin/env bash
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
DOCKER_BUILDKIT=1 docker build --iidfile $iidfile --progress=plain .
docker run -it --rm $(cat $iidfile)
docker rmi $(cat $iidfile)