mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-28 12:11:04 +02:00
14 lines
549 B
Bash
Executable File
14 lines
549 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# @param ${ARCH} The architecture to build. Example: amd64
|
|
# @param ${DEBIAN_VERSION} The debian version to build. Example: bullseye
|
|
# @param ${ARCH_IMAGE} What the Docker Hub Image should be tagged as [default: None]
|
|
|
|
set -eux
|
|
./Dockerfile.py -v --no-cache --arch="${ARCH}" --debian="${DEBIAN_VERSION}" --hub_tag="${ARCH_IMAGE}"
|
|
docker images
|
|
|
|
# TODO: Add junitxml output and have something consume it
|
|
# 2 parallel max b/c race condition with docker fixture (I think?)
|
|
py.test -vv -n 2 -k "${ARCH}" ./test/
|