Skip to content

Commit f8eaf24

Browse files
authored
Merge pull request #524 from kwiesmueller/master
remove deprecated govendor license generation
2 parents 846e485 + b8c1b13 commit f8eaf24

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

prometheus-to-sd/Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ ARG TARGETARCH
2020
ARG TARGETOS
2121
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -mod=vendor -o /monitor
2222

23-
RUN apk update \
24-
&& apk add --no-cache govendor \
25-
&& govendor license +vendor > /NOTICES
26-
2723
FROM --platform=$TARGETPLATFORM gcr.io/distroless/static:latest
2824
# nobody:nobody
2925
USER 65534:65534
3026
COPY --from=builder /monitor /
31-
COPY --from=builder /NOTICES /

0 commit comments

Comments
 (0)