Skip to content

Commit

Permalink
add ca-certificates package to bridge-history services (#1506)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaizet-ledger authored Aug 27, 2024
1 parent 865d65a commit 432c98b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/dockerfiles/bridgehistoryapi-db-cli.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ RUN --mount=target=. \
# Pull db_cli into a second stage deploy alpine container
FROM alpine:latest
COPY --from=builder /bin/db_cli /bin/
RUN apk update && apk add ca-certificates
RUN update-ca-certificates
WORKDIR /app
ENTRYPOINT ["db_cli"]
3 changes: 2 additions & 1 deletion build/dockerfiles/bridgehistoryapi-fetcher.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ RUN --mount=target=. \
FROM ubuntu:20.04

ENV CGO_LDFLAGS="-Wl,--no-as-needed -ldl"

RUN apk update && apk add ca-certificates
RUN update-ca-certificates
COPY --from=builder /bin/bridgehistoryapi-fetcher /bin/
WORKDIR /app
ENTRYPOINT ["bridgehistoryapi-fetcher"]

0 comments on commit 432c98b

Please sign in to comment.