Files
xx/hack/dev-shell
Tonis Tiigi 4f192a8c65 add formatting validation to tests
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-05-05 12:06:08 -07:00

11 lines
304 B
Bash
Executable File

#!/usr/bin/env sh
docker buildx build --load -t tonistiigi/xx:dev --target=dev ./base
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:/etc/apk/cache tonistiigi/xx:dev
docker rmi tonistiigi/xx:dev