Skip to content

Commit

Permalink
Update src/Dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Warner <[email protected]>
Signed-off-by: edgd1er <[email protected]>
Update src/Dockerfile
  • Loading branch information
edgd1er committed Jul 23, 2023
1 parent 28e7719 commit 2c94568
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ARG WEB_BRANCH="development-v6"
ARG CORE_BRANCH="development-v6"
ARG FTL_BRANCH="development-v6"

ENV TZ=Europe/Paris
ENV DNSMASQ_USER=pihole
ENV FTL_CMD=no-daemon

Expand Down Expand Up @@ -36,7 +35,6 @@ COPY crontab.txt /crontab.txt
RUN git clone --depth 1 --single-branch --branch ${WEB_BRANCH} https://github.com/pi-hole/AdminLTE.git /var/www/html/admin && \
git clone --depth 1 --single-branch --branch ${CORE_BRANCH} https://github.com/pi-hole/pi-hole.git /etc/.pihole ;\
# Download the latest version of pihole-FTL for alpine:
# Probably need this to be built for different FTLARCHs
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then FTLARCH=amd64; \
elif [ "$TARGETPLATFORM" = "linux/386" ]; then FTLARCH=386; \
elif [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then FTLARCH=armv6; \
Expand All @@ -59,7 +57,6 @@ RUN cd /etc/.pihole && \
install -Dm644 ./advanced/bash-completion/pihole /etc/bash_completion.d/pihole && \
install -T -m 0755 ./advanced/Templates/pihole-FTL-prestart.sh /opt/pihole/pihole-FTL-prestart.sh && \
install -T -m 0755 ./advanced/Templates/pihole-FTL-poststop.sh /opt/pihole/pihole-FTL-poststop.sh && \
# RUN groupadd pihole && useradd -r --no-user-group -g pihole -s /usr/sbin/nologin pihole
addgroup -S pihole && adduser -S pihole -G pihole

COPY --chmod=0755 bash_functions.sh /usr/bin/bash_functions.sh
Expand Down

0 comments on commit 2c94568

Please sign in to comment.