Skip to content

Commit

Permalink
Update local image name following pi-hole/docker-pi-hole#1628
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Warner <[email protected]>
  • Loading branch information
PromoFaux committed Aug 25, 2024
1 parent a686604 commit 9c03ae2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docker/build-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ Options:
-c, --corebranch <branch> Specify Core branch
-w, --webbranch <branch> Specify Web branch
-p, --paddbranch <branch> Specify PADD branch
-t, --tag <tag> Specify Docker image tag (default: pihole)
-t, --tag <tag> Specify Docker image tag (default: pihole:local)
-l, --local Use locally built FTL binary (requires src/pihole-FTL file)
use_cache Enable caching (by default --no-cache is used)
If no options are specified, the following command will be executed:
docker buildx build src/. --tag pihole --load --no-cache
docker buildx build src/. --tag pihole:local --load --no-cache
```

## Example uses of the script
Expand Down Expand Up @@ -64,7 +64,7 @@ git checkout fix/logRotate

## Using the built image

Unless otherwise named via the `-t` command, the script will build an image locally and tag it as `pihole`. You can reference this as a drop-in replacement for `pihole/pihole:latest` in your compose file or your run command:
Unless otherwise named via the `-t` command, the script will build an image locally and tag it as `pihole:local`. You can reference this as a drop-in replacement for `pihole/pihole:latest` in your compose file or your run command:

```yaml
services:
Expand Down

0 comments on commit 9c03ae2

Please sign in to comment.