Skip to content

Commit d4be6f7

Browse files
authored
Use GHCR docker image by default (#39)
Fix daemonset, missing configmap
1 parent 505611b commit d4be6f7

File tree

3 files changed

+210
-202
lines changed

3 files changed

+210
-202
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM golang:alpine as builder
1+
FROM docker.io/golang:alpine as builder
22

33
RUN apk add --no-cache --virtual build-dependencies build-base linux-headers git
44
COPY ./ /usr/src/sriov-network-metrics-exporter
55
WORKDIR /usr/src/sriov-network-metrics-exporter
66
RUN make clean && make build
77

8-
FROM alpine:3.16
8+
FROM docker.io/alpine:3.16
99
COPY --from=builder /usr/src/sriov-network-metrics-exporter/bin/* /usr/bin/
1010
RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates && apk add --no-cache openssl
1111
EXPOSE 9808
12-
ENTRYPOINT ["sriov-exporter"]
12+
ENTRYPOINT ["sriov-exporter"]

0 commit comments

Comments
 (0)