From 868f9320e9c2a088c6e3106750dc34ccd3e0a1b2 Mon Sep 17 00:00:00 2001 From: Mehrshad Lotfi Date: Thu, 15 Aug 2024 15:02:15 +0200 Subject: [PATCH] CI: Fix missing vendor dependencies (#91872) * Add missing dependency to Dockerfile Add aggregator dependency to Dockerfile, fix the issue #91871. * Add defaults.ini to Dockerfile, add bash for alpine --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 416b2a5b5b8..5fe3fc478aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ COPY packages packages COPY plugins-bundled plugins-bundled COPY public public COPY LICENSE ./ +COPY conf/defaults.ini ./conf/defaults.ini RUN apk add --no-cache make build-base python3 @@ -44,6 +45,7 @@ RUN if grep -i -q alpine /etc/issue; then \ apk add --no-cache \ # This is required to allow building on arm64 due to https://github.com/golang/go/issues/22040 binutils-gold \ + bash \ # Install build dependencies gcc g++ make git; \ fi @@ -62,6 +64,7 @@ COPY pkg/build/wire/go.* pkg/build/wire/ COPY pkg/promlib/go.* pkg/promlib/ COPY pkg/storage/unified/resource/go.* pkg/storage/unified/resource/ COPY pkg/semconv/go.* pkg/semconv/ +COPY pkg/aggregator/go.* pkg/aggregator/ RUN go mod download RUN if [[ "$BINGO" = "true" ]]; then \