mirror of
https://github.com/RWejlgaard/octopus_exporter.git
synced 2026-05-06 04:14:44 +00:00
fix: fix certs (#5)
This commit is contained in:
parent
1e0eff520f
commit
7d3b08f98c
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
|
||||
|
||||
FROM scratch
|
||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
COPY --from=builder /octopus_exporter /octopus_exporter
|
||||
EXPOSE 9359
|
||||
ENTRYPOINT ["/octopus_exporter"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue