This commit is contained in:
mezned 2024-11-10 10:45:16 +01:00
parent 08f5edeffe
commit f25841fe59

View File

@ -7,6 +7,9 @@ FROM ${BUILD_FROM}
ARG YQ_VERSION=4.44.3 ARG YQ_VERSION=4.44.3
ARG BUILD_ARCH ARG BUILD_ARCH
COPY rootfs /
# Add yq and tzdata (required for the timestamp stage) # Add yq and tzdata (required for the timestamp stage)
RUN set -eux; \ RUN set -eux; \
apk update; \ apk update; \
@ -39,7 +42,6 @@ RUN case "${BUILD_ARCH}" in \
COPY --from=grafana/promtail:latest /usr/bin/promtail /usr/bin/promtail COPY --from=grafana/promtail:latest /usr/bin/promtail /usr/bin/promtail
RUN promtail --version RUN promtail --version
COPY rootfs /
WORKDIR /data/promtail WORKDIR /data/promtail
# Build arguments # Build arguments