mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 09:47:54 +00:00
Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ed0ddae67 | ||
|
|
5b8a28e601 | ||
|
|
12197fda5c | ||
|
|
6efab90a96 | ||
|
|
a8afe7d6d3 |
5 changed files with 6 additions and 5 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
ARG ARCH
|
||||||
ARG GO_VERSION
|
ARG GO_VERSION
|
||||||
|
|
||||||
FROM golang:${GO_VERSION} as build
|
FROM golang:${GO_VERSION} as build
|
||||||
|
|
@ -14,7 +15,7 @@ COPY Makefile Makefile
|
||||||
ARG ARCH
|
ARG ARCH
|
||||||
RUN make prometheus-adapter
|
RUN make prometheus-adapter
|
||||||
|
|
||||||
FROM gcr.io/distroless/static:latest
|
FROM gcr.io/distroless/static:latest-$ARCH
|
||||||
|
|
||||||
COPY --from=build /go/src/sigs.k8s.io/prometheus-adapter/adapter /
|
COPY --from=build /go/src/sigs.k8s.io/prometheus-adapter/adapter /
|
||||||
USER 65534
|
USER 65534
|
||||||
|
|
|
||||||
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
||||||
0.10.0
|
0.10.1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue