Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vadv committed May 19, 2020
1 parent db2ebfd commit e79e0b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ COPY . .
RUN go build --ldflags "-s -w -linkmode external -extldflags -static" --tags netcgo -o /prometheus-exporter-merger

FROM scratch

ENTRYPOINT ["/prometheus-exporter-merger"]
USER nobody

COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
Expand All @@ -21,4 +19,3 @@ COPY --from=builder /prometheus-exporter-merger /prometheus-exporter-merger

EXPOSE 8080
CMD ["/prometheus-exporter-merger", "--config", "/config/prometheus-exporter-merger.yaml"]

0 comments on commit e79e0b1

Please sign in to comment.