2023-09-08 20:56:16 +08:00
|
|
|
FROM haproxy:2.8.3-alpine3.18
|
2023-08-24 20:09:21 +08:00
|
|
|
|
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"
|