Skip to content

Commit

Permalink
add ca-certificates to docker image
Browse files Browse the repository at this point in the history
fixes "tls: failed to verify certificate: x509: certificate signed by unknown authority" errors
  • Loading branch information
pk910 committed Aug 17, 2023
1 parent 95269c4 commit 9b23651
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN make $target
# final stage
FROM debian:stable-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
RUN update-ca-certificates
COPY --from=build-env /src/bin/explorer_linux_amd64 /app
COPY --from=build-env /src/config /app/config
EXPOSE 8080
Expand Down

0 comments on commit 9b23651

Please sign in to comment.