123456789101112131415161718 |
- FROM golang:1.16-alpine
- WORKDIR /cilium-splunk
- COPY go.mod ./
- COPY go.sum ./
- RUN go mod download
- COPY ./cmd/cilium-exporter ./cmd/cilium-exporter
- COPY ./internal ./internal
- COPY ./config.yaml.example ./
- RUN go build -o /bin/cilium-exporter ./cmd/cilium-exporter/main.go
- CMD [ "/bin/cilium-exporter" ]
|