mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-28 12:11:04 +02:00
19 lines
582 B
Markdown
19 lines
582 B
Markdown
# Prerequisites
|
|
|
|
Make sure you have bash & docker installed.
|
|
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).
|
|
|
|
# Running tests locally
|
|
|
|
`./build-and-test.sh`
|
|
|
|
Should result in:
|
|
|
|
- An image named `pihole:[branch-name]` being built
|
|
- Tests being ran to confirm the image doesn't have any regressions
|
|
|
|
# Modify Pipfile
|
|
|
|
You can enter into the test docker image using `./build-and-test.sh enter`.
|
|
From there, you can `cd test` and execute any needed pipenv commands. |