1
0
mirror of https://github.com/pi-hole/docker-pi-hole.git synced 2024-07-04 15:10:59 +02:00
Commit Graph

1720 Commits

Author SHA1 Message Date
Adam Warner
91dffb6669
Merge pull request #1466 from pi-hole/v6/skip-skipgravity
Only run gravity on boot _if_ the gravity database does not exist
2023-11-03 14:25:14 +00:00
Adam Warner
23fe63dff6
Get rid of the SKIPGRAVITYONBOOT environment variable. Instead, only run gravity on a fresh volume if the gravity database does not exist. There isn't really any need for gravity to be updated on every start (current default behaviour)
This will still run the gravity migration scripts on every boot if the gravity database exists

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-11-03 14:22:43 +00:00
Adam Warner
69e2b598c8
Merge pull request #1479 from pi-hole/dependabot/pip/test/development-v6/pytest-7.4.3
Bump pytest from 7.1.3 to 7.4.3 in /test
2023-11-03 14:18:42 +00:00
dependabot[bot]
a651b0bfab
Bump pytest from 7.1.3 to 7.4.3 in /test
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.3 to 7.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.3...7.4.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:46:30 +00:00
Adam Warner
be014198ad
Merge pull request #1481 from pi-hole/dependabot/pip/test/development-v6/pytest-xdist-3.3.1
Bump pytest-xdist from 2.5.0 to 3.3.1 in /test
2023-11-01 17:44:56 +00:00
dependabot[bot]
cecdae4dbd
Bump pytest-xdist from 2.5.0 to 3.3.1 in /test
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 2.5.0 to 3.3.1.
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.5.0...v3.3.1)

---
updated-dependencies:
- dependency-name: pytest-xdist
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:42:04 +00:00
Adam Warner
8a1f3dfef5
Merge pull request #1477 from pi-hole/dependabot/pip/test/development-v6/pytest-testinfra-9.0.0
Bump pytest-testinfra from 6.8.0 to 9.0.0 in /test
2023-11-01 17:41:07 +00:00
dependabot[bot]
ae85a85d12
Bump pytest-testinfra from 6.8.0 to 9.0.0 in /test
Bumps [pytest-testinfra](https://github.com/pytest-dev/pytest-testinfra) from 6.8.0 to 9.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-testinfra/releases)
- [Changelog](https://github.com/pytest-dev/pytest-testinfra/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-testinfra/compare/6.8.0...9.0.0)

---
updated-dependencies:
- dependency-name: pytest-testinfra
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:26:35 +00:00
Adam Warner
721dd31140
Merge pull request #1475 from pi-hole/dependabot/pip/test/development-v6/black-23.10.1
Bump black from 22.8.0 to 23.10.1 in /test
2023-11-01 17:25:38 +00:00
Adam Warner
f36583446b
Merge pull request #1470 from pi-hole/logrotate
Install logrotate
2023-11-01 17:24:51 +00:00
dependabot[bot]
822a9c515e
Bump black from 22.8.0 to 23.10.1 in /test
Bumps [black](https://github.com/psf/black) from 22.8.0 to 23.10.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.8.0...23.10.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 21:15:01 +00:00
Christian König
06819bdd51
Install logrotate
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-31 21:16:05 +01:00
Christian König
c9e23f5a92
/etc/pihole is already created within the Dockerfile
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-30 23:34:48 +01:00
Christian König
752c49e5de
Install logrotate from repo
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-30 23:31:40 +01:00
Adam Warner
5b7fd46af6
Merge pull request #1468 from pi-hole/v6/tweak-tests
drop the `/v8` from `linux/arm64/v8`
2023-10-30 22:08:42 +00:00
Adam Warner
234dd6c849
Drop the /v8 from linux/arm64/v8
1f6a1a438c/cli/command/manifest/util.go (L34)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-30 21:51:29 +00:00
Adam Warner
b688b46f13
linux/arm64/v8 should be linux/arm64.
This is a regression, added a note to make sure it does not happen again

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-30 21:22:18 +00:00
Christian König
f31b4694c8
Delimter for array type FTLCONF_ values is ;
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-29 20:55:41 +00:00
Adam Warner
230e14e633
Merge pull request #1464 from pi-hole/v6/tweak_delimiter
Clarify delimter for array type FTLCONF_ values
2023-10-29 18:10:39 +00:00
Adam Warner
9928cfa630
Clarify delimter for array type FTLCONF_ values
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-29 17:48:24 +00:00
Adam Warner
76e45a5211
Merge pull request #1460 from pi-hole/v6/FTLCONF_
Updates to reflect FTL's native capability of reading the FTLCONF_ env vars
2023-10-29 11:17:22 +00:00
Adam Warner
335ec7e40d
explicitly test for pwhash containing a value beginning $BALOON-SHA256 2023-10-28 19:47:59 +01:00
Adam Warner
5c7ff5c539
TARGETPLATFORM needs to be set
Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-22 22:14:31 +01:00
Adam Warner
ae90e9c854
Trim some fat
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-22 22:14:29 +01:00
Adam Warner
bb2a7b1153
Update README.md
Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: Adam Warner <github@adamwarner.co.uk>
2023-10-22 17:42:29 +01:00
Adam Warner
b8a717f925
Re-do tests to account for FTLCONF_ changes. Add new tests for web password
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-22 17:42:29 +01:00
Adam Warner
74657d01a9
- Bring back the logic from v5 containers for web password
- Update readme to take into accounts changes to FTLs environment variable handling
- shell/md linting, tidy away some code that is no longer needed

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-22 17:42:27 +01:00
Adam Warner
0784964f60
This is all now handled natively in FTL, no need for the bash
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-20 11:39:28 +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