Commit Graph

1693 Commits

Author SHA1 Message Date
Adam Warner 4896d71937
Allow overwriting of downloaded FTL binary at build time _if_ it exists in the /src directory
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-22 18:28:32 +01:00
Adam Warner 77ee293ac0
Merge pull request #1456 from pi-hole/v6/special-env
Add special handling for FTL Config names that have underscores in them
2023-10-16 20:35:33 +01:00
Adam Warner 0489e57d10
Add special handling for FTL Config names that have underscores in them
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-16 17:11:11 +01:00
Adam Warner 27b4c8a1bf
Merge pull request #1450 from pi-hole/adminlte-to-web
Update references to web repo
2023-10-08 19:51:37 +01:00
Adam Warner 6fa1759814
AdminLTE -> web
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-08 14:06:35 +01:00
Adam Warner 938f3a2ed0
Merge pull request #1444 from pi-hole/readme/altbranches
Add instructions for rebuilding the image with a custom component branch
2023-10-08 13:50:10 +01:00
Adam Warner 4c2d0ab34f
Add valid args
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-09-27 18:14:45 +01:00
Adam Warner 7011839026
Add some information about building a custom image with an alternative component branch
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-09-27 18:08:51 +01:00
Adam Warner 92ab9ad4ac
Merge pull request #1423 from pi-hole/v6/additional_packages
Allow end user to add additional packages to the image
2023-09-25 22:36:36 +01:00
Adam Warner bf12b02636
Update src/start.sh
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Adam Warner <github@adamwarner.co.uk>
2023-09-25 20:00:22 +01:00
Adam Warner b893784c09
Update README.md
Signed-off-by: Adam Warner <github@adamwarner.co.uk>
2023-09-25 17:27:16 +01:00
Adam Warner 93462c090f
Merge pull request #1385 from pi-hole/v6/quiet-output
Make the FTL log tail optional. Pass in `TAIL_FTL_LOG: 0` to silence it
2023-09-21 00:04:15 +01:00
Adam Warner 3ca2aea41c
Add documentation
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-09-21 00:03:25 +01:00
Adam Warner 672797b229
Remove the "INSTALL_DEV_TOOLS" environment variable in favour of "ADDITIONAL_PACKAGES", to allow user to add any package they wish to the container. Will be mentioned in README with a HERE BE DRAGONS warning.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-09-21 00:01:37 +01:00
Adam Warner bb3eee6665
Merge pull request #1429 from pi-hole/v6/readme
Update Readme
2023-09-20 23:59:46 +01:00
yubiuser 2afc9eef0b
Merge pull request #1435 from pi-hole/dependabot/github_actions/development-v6/docker/metadata-action-5
Bump docker/metadata-action from 4 to 5
2023-09-16 15:32:53 +02:00
dependabot[bot] 57957574d2
Bump docker/metadata-action from 4 to 5
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 13:28:14 +00:00
yubiuser 2e957f1e6f
Merge pull request #1434 from pi-hole/dependabot/github_actions/development-v6/docker/build-push-action-5
Bump docker/build-push-action from 4 to 5
2023-09-16 15:27:34 +02:00
dependabot[bot] 71b8d50c55
Bump docker/build-push-action from 4 to 5
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 13:21:39 +00:00
yubiuser c7bbc39909
Merge pull request #1436 from pi-hole/dependabot/github_actions/development-v6/docker/setup-buildx-action-3
Bump docker/setup-buildx-action from 2 to 3
2023-09-16 15:21:02 +02:00
dependabot[bot] e4a46df21a
Bump docker/setup-buildx-action from 2 to 3
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 13:16:45 +00:00
yubiuser 3fc1d87ef7
Merge pull request #1437 from pi-hole/dependabot/github_actions/development-v6/docker/setup-qemu-action-3
Bump docker/setup-qemu-action from 2 to 3
2023-09-16 15:16:04 +02:00
dependabot[bot] aa44c5a44b
Bump docker/setup-qemu-action from 2 to 3
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 10:35:24 +00:00
Adam Warner 0704f06cd8
Update src/start.sh
Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: Adam Warner <github@adamwarner.co.uk>
2023-09-10 20:42:10 +01:00
Adam Warner 48970d8bb7
Quick first pass of Readme update. Probably still needs more work. Can happen as we go
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-09-10 17:13:33 +01:00
yubiuser 429739d060
Merge pull request #1427 from pi-hole/dependabot/github_actions/development-v6/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-09 17:45:46 +02:00
dependabot[bot] 9ee27ed2f8
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 10:09:31 +00:00
Adam Warner 76e09bf15a
Give users an option to silence the FTL log output by passing in the environment variable TAIL_FTL_LOG with a value of 0. Defaults to enabled (1)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-09-03 13:02:50 +01:00
Adam Warner 9c46f8b9ba
Merge pull request #1406 from pi-hole/v6/even-tinier
Ensure pihole-FTL process is shut down cleanly on container exit / add tini
2023-09-03 12:43:05 +01:00
Adam Monsen 7e4de03a1f
add EUPL license
I copied this file from https://github.com/pi-hole/pi-hole
2023-09-03 12:37:22 +01:00
Adam Warner 374f6f2537
Add in a test to kill start.sh and then ensure that pihole-FTL is gracefully exited.
We add in some sleeps to ensure that the log file is being written to before we check it
Log entry tests are based on many different passes of running this locally with all sorts of timeouts and sleeps, this seems to be the most consistent

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 23:31:39 +01:00
Adam Warner b41d50b94f
Remove volume mount from tests, this causes issues with gravity not being able to read an adlist file symlinked to /dev/null
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 22:57:35 +01:00
Adam Warner 696895fa59
Fix some broken logic in the gravity skip code (I should have read it better)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 22:15:41 +01:00
Adam Warner 94795db7e9
correct tini path
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 21:38:49 +01:00
Adam Warner 3cebec9344
Add tini anyway (see `tini + bash 4.x at https://ahmet.im/blog/minimal-init-process-for-containers/)
bash isn't going anywhere for the time being

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 21:20:12 +01:00
Adam Warner b674a8bde7
Who needs an init system anyway? Add a trap to ensure that pihole-FTL shuts down cleanly on container exit.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 21:20:11 +01:00
Adam Warner b56b8d03c4
black formatted some tests
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-08-09 21:18:10 +01:00
Adam Warner fa2eb0d2f5
Merge pull request #1402 from edgd1er/skigravityonboot
if skipgravityonboot set, check db version.
2023-08-09 19:47:04 +01:00
Adam Warner 0748c7fc62
Update src/start.sh
Signed-off-by: Adam Warner <github@adamwarner.co.uk>
2023-08-09 19:46:48 +01:00
Adam Warner 661bc42543
Merge pull request #1410 from pi-hole/padd/v6
Add PADD to the image
2023-08-02 23:02:59 +01:00
Adam Warner f24dd34e37
Update src/start.sh
Signed-off-by: Adam Warner <github@adamwarner.co.uk>
2023-08-02 23:00:00 +01:00
Christian König 81e7671441
Revert alias and make branch configurable
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-08-02 22:20:20 +02:00
Christian König d89d826951
Add padd alias
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-08-01 21:29:30 +02:00
Christian König 76b6d5bdb4
Add PADD to the image
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-07-31 23:38:39 +02:00
Adam Warner 2c5f02df28
Merge pull request #1409 from pi-hole/v6/uninstall.sh
No need for uninstall.sh in the container image
2023-07-28 22:21:01 +01:00
Adam Warner e88985ba40
This is not needed!
Co-authored-by: Christian König <ckoenig@posteo.de>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-07-28 21:58:48 +01:00
Adam Warner 3c3563c289
Merge pull request #1408 from pi-hole/chore/alpine-alphebetize
Alphebetize alpine dependencies for organization.
2023-07-28 18:23:20 +01:00
Dan Schaper 9a058c5511
Alphebetize dependencies for organization. 2023-07-28 10:10:10 -07:00
Adam Warner fbaf191304
Merge pull request #1407 from Gontier-Julien/fix-procps
Tell alpine specifically to install/use procps-ng
2023-07-28 17:17:32 +01:00
Gontier Julien dfdf5fa930 Tell alpine specifically to use procps-ng
Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>
2023-07-28 17:17:51 +02:00