Skip to content

Commit

Permalink
Merge pull request #5 from rancher-sandbox/prometheus-data
Browse files Browse the repository at this point in the history
Add prometheus receiver & exporter data directories
  • Loading branch information
dbason authored Apr 27, 2023
2 parents a3ba4ff + e434c5f commit 5378540
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ COPY . .

RUN CGO_ENABLED=0 builder --config=ocb-config.yaml
RUN chmod +x otelcol-custom
RUN mkdir -p prometheus/wal
RUN mkdir -p prometheus/certs

FROM alpine:latest as prep
RUN apk --update add ca-certificates
Expand Down Expand Up @@ -60,6 +62,8 @@ COPY --from=journal /etc/passwd /etc/passwd

COPY --from=prep /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /otel/otelcol-custom /
COPY --from=builder /otel/prometheus/wal /
COPY --from=builder /otel/prometheus/certs /

USER scratchuser

Expand Down

0 comments on commit 5378540

Please sign in to comment.