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:
parent
988df5d7b9
commit
937a719462
@ -9,7 +9,7 @@ cat > "${tmpdir}/Dockerfile" <<EOF
|
||||
FROM pihole/pihole:latest
|
||||
ENV DOTE_OPTS="-s 127.0.0.1:5053"
|
||||
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
|
||||
|
||||
podman pull pihole/pihole:latest
|
||||
|
Loading…
Reference in New Issue
Block a user