mirror of
https://github.com/RWejlgaard/octopus_exporter.git
synced 2026-05-06 04:14:44 +00:00
fix: fix certs
This commit is contained in:
parent
1e0eff520f
commit
cb19b9321b
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ COPY . .
|
||||||
RUN CGO_ENABLED=0 go build -o /octopus_exporter ./cmd/octopus_exporter
|
RUN CGO_ENABLED=0 go build -o /octopus_exporter ./cmd/octopus_exporter
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
COPY --from=builder /octopus_exporter /octopus_exporter
|
COPY --from=builder /octopus_exporter /octopus_exporter
|
||||||
EXPOSE 9359
|
EXPOSE 9359
|
||||||
ENTRYPOINT ["/octopus_exporter"]
|
ENTRYPOINT ["/octopus_exporter"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue