keep the dinit socket in /run

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2026-08-27 21:48:40 +02:00
parent 2c41edaec4
commit 564f5e2cc0
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -83,6 +83,7 @@ RUN set -ex; \
mkdir -p /usr/local/apache2/logs; \
chmod 777 -R /home/www-data; \
chmod 777 -R /usr/local/apache2/logs; \
chmod 777 /run; \
rm -rf /usr/local/apache2/cgi-bin/
USER www-data:www-data
@@ -90,7 +91,7 @@ USER www-data:www-data
STOPSIGNAL SIGTERM
ENTRYPOINT ["/start.sh"]
CMD ["dinit", "--system", "--container", "--socket-path", "/tmp/dinitctl", "apache", "caddy"]
CMD ["dinit", "--system", "--container", "apache", "caddy"]
ENV AIO_LOG_LEVEL=warn
+2 -1
View File
@@ -6,6 +6,7 @@ RUN set -ex; \
apk add --no-cache tzdata clamav clamav-milter dinit bash; \
mkdir -p /tmp /var/lib/clamav; \
chmod 777 -R /tmp /var/log/clamav; \
chmod 777 /run; \
chown -R clamav:clamav /var/lib/clamav; \
sed -i "s|#\?MaxDirectoryRecursion.*|MaxDirectoryRecursion 30|g" /etc/clamav/clamd.conf; \
sed -i "s|#\?MaxScanSize.*|MaxScanSize 2000M|g" /etc/clamav/clamd.conf; \
@@ -43,7 +44,7 @@ RUN set -ex; \
freshclam --foreground --stdout
VOLUME /var/lib/clamav
ENTRYPOINT ["/start.sh"]
CMD ["dinit", "--system", "--container", "--socket-path", "/tmp/dinitctl", "freshclam", "clamd", "milter"]
CMD ["dinit", "--system", "--container", "freshclam", "clamd", "milter"]
LABEL com.centurylinklabs.watchtower.enable="false" \
wud.watch="false" \
dockhand.update="false" \
+2 -1
View File
@@ -72,12 +72,13 @@ RUN set -ex; \
chmod 777 -R \
/tmp \
/conf; \
chmod 777 /run; \
ln -s /opt/eturnal/bin/stun /usr/local/bin/stun; \
ln -s /opt/eturnal/bin/eturnalctl /usr/local/bin/eturnalctl
USER eturnal:eturnal
ENTRYPOINT ["/start.sh"]
CMD ["dinit", "--system", "--container", "--socket-path", "/tmp/dinitctl", "nats-server", "eturnal", "janus", "signaling"]
CMD ["dinit", "--system", "--container", "nats-server", "eturnal", "janus", "signaling"]
HEALTHCHECK CMD ["/healthcheck.sh"]
LABEL com.centurylinklabs.watchtower.enable="false" \