2017-10-16 22:38:59 +02:00
# Prerequisites
2022-02-01 00:17:59 +01:00
Make sure you have bash & docker installed.
2020-12-23 17:21:23 +01:00
Python and some test hacks are crammed into the `Dockerfile_build` file for now.
Revisions in the future may re-enable running python on your host (not just in docker).
2017-10-16 22:38:59 +02:00
# Running tests locally
2020-06-04 23:03:48 +02:00
`ARCH=amd64 ./gh-actions-test.sh`
2017-10-16 22:38:59 +02:00
2020-12-23 17:21:23 +01:00
Should result in:
2017-10-16 22:38:59 +02:00
2020-12-23 17:21:23 +01:00
- An image named `pihole:amd64` being built
- Tests being ran to confirm the image doesn't have any regressions
2017-10-16 22:38:59 +02:00
2017-10-17 07:21:43 +02:00
# Local image names
2020-02-04 06:39:03 +01:00
Docker images built by `Dockerfile.py` are named the same but stripped of the `pihole/` docker repository namespace.
2017-10-17 07:21:43 +02:00
2020-01-14 15:37:44 +01:00
e.g. `pi-hole:debian_amd64` or `pi-hole-multiarch:debian_arm64`
2017-10-17 07:21:43 +02:00
2020-12-23 17:21:23 +01:00
You can run the multiarch images on an amd64 development system if you [enable binfmt-support as described in the multiarch image docs ](https://hub.docker.com/r/multiarch/debian-debootstrap/ )
2017-10-17 07:21:43 +02:00
`docker run --rm --privileged multiarch/qemu-user-static:register --reset`