mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
Signed-off-by: Erwan Hervé <erwan.herve@outlook.fr> Signed-off-by: Erwan Hervé <62173453+Erwan-loot@users.noreply.github.com> Co-authored-by: Simon L. <szaimen@e.mail.de>
28 lines
1.1 KiB
Docker
28 lines
1.1 KiB
Docker
# syntax=docker/dockerfile:latest
|
|
FROM alpine:3.23.4
|
|
RUN set -ex; \
|
|
apk upgrade --no-cache -a; \
|
|
apk add --no-cache bash lighttpd netcat-openbsd; \
|
|
adduser -S www-data -G www-data; \
|
|
rm -rf /etc/lighttpd/lighttpd.conf; \
|
|
chmod 777 -R /etc/lighttpd; \
|
|
mkdir -p /var/www/domaincheck; \
|
|
chown www-data:www-data -R /var/www; \
|
|
chmod 777 -R /var/www/domaincheck
|
|
COPY --chown=www-data:www-data lighttpd.conf /lighttpd.conf
|
|
|
|
COPY --chmod=775 start.sh /start.sh
|
|
|
|
USER www-data
|
|
ENTRYPOINT ["/start.sh"]
|
|
|
|
HEALTHCHECK CMD nc -z 127.0.0.1 $APACHE_PORT || exit 1
|
|
LABEL com.centurylinklabs.watchtower.enable="false" \
|
|
wud.watch="false" \
|
|
org.opencontainers.image.title="Domain Check for Nextcloud AIO" \
|
|
org.opencontainers.image.description="Domain validation service for Nextcloud All-in-One setup" \
|
|
org.opencontainers.image.url="https://github.com/nextcloud/all-in-one" \
|
|
org.opencontainers.image.source="https://github.com/nextcloud/all-in-one" \
|
|
org.opencontainers.image.vendor="Nextcloud" \
|
|
org.opencontainers.image.documentation="https://github.com/nextcloud/all-in-one/blob/main/readme.md"
|