Skip to content

Commit fa0fb82

Browse files
authored
Merge pull request #1258 from pi-hole/dev
Dev -> master
2 parents 6566662 + 842f4eb commit fa0fb82

File tree

5 files changed

+31
-4
lines changed

5 files changed

+31
-4
lines changed

.codespellignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
padd

.github/workflows/merge-conflict.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Check for merge conflicts"
2+
on:
3+
# So that PRs touching the same files as the push are updated
4+
push:
5+
# So that the `dirtyLabel` is removed if conflicts are resolve
6+
# We recommend `pull_request_target` so that github secrets are available.
7+
# In `pull_request` we wouldn't be able to change labels of fork PRs
8+
pull_request_target:
9+
types: [synchronize]
10+
11+
jobs:
12+
main:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check if PRs are have merge conflicts
16+
uses: eps1lon/[email protected]
17+
with:
18+
dirtyLabel: "Merge Conflict"
19+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
20+
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
21+
commentOnClean: "Conflicts have been resolved. A maintainer will review the pull request shortly."

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,13 @@ Users of older Ubuntu releases (circa 17.04) will need to disable dnsmasq.
228228

229229
The primary docker tags are explained in the following table. [Click here to see the full list of tags](https://store.docker.com/community/images/pihole/pihole/tags). See [GitHub Release notes](https://github.com/pi-hole/docker-pi-hole/releases) to see the specific version of Pi-hole Core, Web, and FTL included in the release.
230230

231+
The Date-based (including incremented "Patch" versions) do not relate to any kind of semantic version number, rather a date is used to differentiate between the new version and the old version, nothing more. Release notes will always contain full details of changes in the container, including changes to core Pi-hole components
232+
231233
| tag | description
232234
|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
233235
| `latest` | Always latest release |
234-
| `2022.04` | Date-based release that can receive bugfix updates |
235-
| `2022.04.1` | A specific image that will not receive updates |
236+
| `2022.04` | Date-based release |
237+
| `2022.04.1` | Second release in a given month |
236238
| `dev` | Similar to `latest`, but for the development branch (pushed occasionally) |
237239
| `*beta` | Early beta releases of upcoming versions - here be dragons |
238240
| `nightly` | Like `dev` but pushed every night and pulls from the latest `development` branches of the core Pi-hole components (Pi-hole, AdminLTE, FTL) |

src/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ ENV PHP_ENV_CONFIG /etc/lighttpd/conf-enabled/15-fastcgi-php.conf
1818
ARG PHP_ERROR_LOG
1919
ENV PHP_ERROR_LOG /var/log/lighttpd/error-pihole.log
2020

21+
# Add PADD to the container, too.
22+
ADD https://install.padd.sh /usr/local/bin/padd
23+
RUN chmod +x /usr/local/bin/padd
24+
2125
# IPv6 disable flag for networks/devices that do not support it
2226
ENV IPv6 True
2327

src/s6/debian-root/etc/s6-overlay/s6-rc.d/pihole-FTL/run

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ if [ ! -f /var/log/pihole-FTL.log ]; then
3838
chown -h pihole:pihole /var/log/pihole-FTL.log
3939
fi
4040

41-
# Call capsh with the detected capabilities
42-
capsh --inh=${CAP_STR:1} --addamb=${CAP_STR:1} --user=$DNSMASQ_USER --keep=1 -- -c "/usr/bin/pihole-FTL $FTL_CMD >/dev/null 2>&1"
41+
capsh --user=$DNSMASQ_USER --keep=1 -- -c "/usr/bin/pihole-FTL $FTL_CMD >/dev/null 2>&1"
4342

4443
# Notes on above:
4544
# - DNSMASQ_USER default of pihole is in Dockerfile & can be overwritten by runtime container env

0 commit comments

Comments
 (0)