2024-02-16 23:21:18 +08:00
|
|
|
# syntax=docker/dockerfile:latest
|
2024-02-27 20:11:52 +08:00
|
|
|
FROM haproxy:2.9.6-alpine3.19
|
2023-08-24 20:09:21 +08:00
|
|
|
|
2023-08-23 22:06:17 +08:00
|
|
|
# hadolint ignore=DL3002
|
2023-08-24 21:53:03 +08:00
|
|
|
USER root
|
2023-08-30 21:13:08 +08:00
|
|
|
ENV NEXTCLOUD_HOST nextcloud-aio-nextcloud
|
|
|
|
RUN set -ex; \
|
|
|
|
apk add --no-cache \
|
|
|
|
ca-certificates \
|
|
|
|
tzdata \
|
2023-08-31 19:01:33 +08:00
|
|
|
bash \
|
2023-08-30 21:13:08 +08:00
|
|
|
bind-tools; \
|
|
|
|
chmod -R 777 /tmp
|
2023-08-24 21:53:03 +08:00
|
|
|
|
2023-08-30 21:13:08 +08:00
|
|
|
COPY --chmod=775 *.sh /
|
|
|
|
COPY --chmod=664 haproxy.cfg /haproxy.cfg
|
2023-08-24 20:09:21 +08:00
|
|
|
|
2023-08-30 20:59:08 +08:00
|
|
|
ENTRYPOINT ["/start.sh"]
|
2023-08-30 21:13:08 +08:00
|
|
|
HEALTHCHECK CMD /healthcheck.sh
|
2023-08-30 21:14:29 +08:00
|
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|