Files
xx/hack/dev-shell
Tonis Tiigi e68ab24bd8 hack: fix dev-shell script
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-01-04 20:25:59 -08:00

11 lines
255 B
Bash
Executable File

#!/usr/bin/env sh
docker buildx bake dev
if ! docker volume inspect xx-pkg-cache >/dev/null 2>&1; then
docker volume create xx-pkg-cache >/dev/null 2>&1
fi
docker run -it --rm -v xx-pkg-cache:/pkg-cache tonistiigi/xx:dev
docker rmi tonistiigi/xx:dev