mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
udpated the dote dockerfile to create missing dir + set perms on init script (#439)
This commit is contained in:
@ -9,7 +9,7 @@ cat > "${tmpdir}/Dockerfile" <<EOF
|
|||||||
FROM pihole/pihole:latest
|
FROM pihole/pihole:latest
|
||||||
ENV DOTE_OPTS="-s 127.0.0.1:5053"
|
ENV DOTE_OPTS="-s 127.0.0.1:5053"
|
||||||
COPY dote /opt/dote
|
COPY dote /opt/dote
|
||||||
RUN chmod +x /opt/dote && echo -e "#!/bin/sh\n/opt/dote \\\$DOTE_OPTS -d\n" > /etc/cont-init.d/10-dote.sh
|
RUN chmod +x /opt/dote && mkdir -p /etc/cont-init.d/ && echo -e "#!/bin/sh\n/opt/dote \\\$DOTE_OPTS -d\n" > /etc/cont-init.d/10-dote.sh && chmod 775 /etc/cont-init.d/10-dote.sh
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
podman pull pihole/pihole:latest
|
podman pull pihole/pihole:latest
|
||||||
|
Reference in New Issue
Block a user