Skip to content

Commit

Permalink
Merge pull request #524 from kwiesmueller/master
Browse files Browse the repository at this point in the history
remove deprecated govendor license generation
  • Loading branch information
laoj2 authored Mar 14, 2023
2 parents 846e485 + b8c1b13 commit f8eaf24
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions prometheus-to-sd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ ARG TARGETARCH
ARG TARGETOS
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -mod=vendor -o /monitor

RUN apk update \
&& apk add --no-cache govendor \
&& govendor license +vendor > /NOTICES

FROM --platform=$TARGETPLATFORM gcr.io/distroless/static:latest
# nobody:nobody
USER 65534:65534
COPY --from=builder /monitor /
COPY --from=builder /NOTICES /

0 comments on commit f8eaf24

Please sign in to comment.