This commit is contained in:
ai-dev 2024-11-09 07:04:55 +01:00
parent e43f7a6c33
commit 2dc2629677

View File

@ -35,7 +35,7 @@ RUN set -eux; \
nginx \
; \
update-ca-certificates; \
nginx -v; \
nginx -V; \
rm -f -r /etc/nginx; \
mkdir -p \
/var/lib/nginx/tmp/client_body \
@ -58,15 +58,16 @@ RUN set -eux; \
/usr/share/nginx \
/var/lib/nginx \
/var/log/nginx \
; \
chmod +x /etc/cont-init.d/nginx.sh;\
;
COPY --chown=loki:loki rootfs /
RUN chmod +x /etc/cont-init.d/nginx.sh;\
chmod +x /etc/services.d/loki/*; \
chmod +x /etc/services.d/nginx/*;
# See https://github.com/grafana/loki/issues/1928
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
COPY --chown=loki:loki rootfs /
WORKDIR /data/loki
# Build arguments