-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GHCR docker image by default (#39)
Fix daemonset, missing configmap
- Loading branch information
Showing
3 changed files
with
210 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM golang:alpine as builder | ||
FROM docker.io/golang:alpine as builder | ||
|
||
RUN apk add --no-cache --virtual build-dependencies build-base linux-headers git | ||
COPY ./ /usr/src/sriov-network-metrics-exporter | ||
WORKDIR /usr/src/sriov-network-metrics-exporter | ||
RUN make clean && make build | ||
|
||
FROM alpine:3.16 | ||
FROM docker.io/alpine:3.16 | ||
COPY --from=builder /usr/src/sriov-network-metrics-exporter/bin/* /usr/bin/ | ||
RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates && apk add --no-cache openssl | ||
EXPOSE 9808 | ||
ENTRYPOINT ["sriov-exporter"] | ||
ENTRYPOINT ["sriov-exporter"] |
Oops, something went wrong.