mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Use build args to fix building on macos
This commit is contained in:
parent
be9797dc49
commit
d6b587d52b
2 changed files with 15 additions and 18 deletions
|
|
@ -1,4 +1,6 @@
|
|||
FROM BASEIMAGE
|
||||
COPY adapter /
|
||||
ARG BASEIMAGE
|
||||
FROM ${BASEIMAGE}
|
||||
ARG ARCH
|
||||
COPY ${ARCH}/adapter /
|
||||
USER 1001:1001
|
||||
ENTRYPOINT ["/adapter"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue