pihole (2022.09)

Published 2022-10-07 06:10:50 +00:00 by james

Installation

docker pull gitea.jbrumond.me/images/pihole:2022.09
sha256:0b5d61f41e30deb4d02574e351e4265b293ed47e674bd759fb15f47c8a515edf

About this package

Pi-hole in a docker container

Image Layers

ADD file:7726efb0e0eb5003dbcf2967ec29364479eec8b41f2569ff189372153115b54b in /
CMD ["bash"]
ARG DEBIAN_VERSION
ENV phpver=php
RUN |1 DEBIAN_VERSION=bullseye-slim /bin/sh -c apt-get update && apt-get install --no-install-recommends -y procps xz-utils grep dnsutils git iproute2 ca-certificates cron curl iputils-ping psmisc sudo unzip idn2 sqlite3 libcap2-bin dns-root-data libcap2 lighttpd php-common php-cgi php-sqlite3 php-xml php-intl php-json netcat-openbsd lighttpd-mod-openssl logrotate && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 DEBIAN_VERSION=bullseye-slim /bin/sh -c if [ "$DEBIAN_VERSION" = "buster-slim" ]; then c_rehash; fi # buildkit
ARG PIHOLE_DOCKER_TAG
ENV PIHOLE_DOCKER_TAG=2022.09
ENV S6_OVERLAY_VERSION=v3.1.1.2
ENV PIHOLE_INSTALL=/etc/.pihole/automated install/basic-install.sh
ENTRYPOINT ["/s6-init"]
COPY s6/debian-root / # buildkit
COPY s6/service /usr/local/bin/service # buildkit
RUN |1 PIHOLE_DOCKER_TAG=2022.09 /bin/sh -c bash -ex install.sh 2>&1 && rm -rf /var/cache/apt/archives /var/lib/apt/lists/* # buildkit
ARG PHP_ENV_CONFIG
ENV PHP_ENV_CONFIG=/etc/lighttpd/conf-enabled/15-fastcgi-php.conf
ARG PHP_ERROR_LOG
ENV PHP_ERROR_LOG=/var/log/lighttpd/error-pihole.log
ENV IPv6=True
EXPOSE map[53/tcp:{} 53/udp:{}]
EXPOSE map[67/udp:{}]
EXPOSE map[80/tcp:{}]
ENV S6_KEEP_ENV=1
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
ENV S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
ENV FTLCONF_LOCAL_IPV4=0.0.0.0
ENV FTL_CMD=no-daemon
ENV DNSMASQ_USER=pihole
ENV PATH=/opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HEALTHCHECK &{["CMD-SHELL" "dig +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1"] "0s" "0s" "0s" '\x00'}
SHELL [/bin/bash -c]

Labels

Key Value
org.opencontainers.image.created 2022-09-02T18:42:59.279Z
org.opencontainers.image.description Pi-hole in a docker container
org.opencontainers.image.licenses
org.opencontainers.image.revision 9d17bd9871f9d5fe558012016aec4c759521c6ac
org.opencontainers.image.source https://github.com/pi-hole/docker-pi-hole
org.opencontainers.image.title docker-pi-hole
org.opencontainers.image.url https://github.com/pi-hole/docker-pi-hole
org.opencontainers.image.version 2022.09
Details
Container
2022-10-07 06:10:50 +00:00
0
OCI / Docker
linux/amd64
111 MiB
Versions (1) View all
2022.09 2022-10-07