mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-26 03:40:13 +01:00
Tini update and arm version
* Noticed: * tini arm is out! Go ARM TINI - thanks @krallin * tini alpine is behind on 0.9 - grabed latest the same way as debians * Redundent run steps between requirements and tini, merged * inconsistency in dockerfiles, made consistent * I kept writing noticed in front of all these items, used nesting instead
This commit is contained in:
@@ -3,21 +3,21 @@ MAINTAINER adam@diginc.us <adam@diginc.us>
|
||||
|
||||
ENV IMAGE debian
|
||||
|
||||
ENV TINI_VERSION v0.10.0
|
||||
ENV TINI_VERSION v0.13.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini.asc /tini.asc
|
||||
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0527A9B7 \
|
||||
&& gpg --verify /tini.asc
|
||||
RUN chmod +x /tini
|
||||
|
||||
# Requirements
|
||||
RUN apt-get -q update && \
|
||||
# Tini and package requirements
|
||||
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0527A9B7 && \
|
||||
gpg --verify /tini.asc && \
|
||||
chmod +x /tini && \
|
||||
apt-get -q update && \
|
||||
apt-get install -y \
|
||||
dnsmasq \
|
||||
lighttpd \
|
||||
php5-common php5-cgi php5 \
|
||||
bc curl unzip wget sudo dnsutils && \
|
||||
rm -rf /var/cache/apt/archives
|
||||
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
|
||||
|
||||
# Original upstream pihole code being used
|
||||
COPY ./pi-hole/gravity.sh /usr/local/bin/
|
||||
@@ -76,4 +76,4 @@ EXPOSE 53 53/udp
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/tini", "--"]
|
||||
CMD /start.sh
|
||||
CMD [ "/start.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user