Skip to content

Commit

Permalink
Adding certificates
Browse files Browse the repository at this point in the history
W/o certificates, fledger and flsignal fail to connect.
  • Loading branch information
ineiti committed Sep 3, 2024
1 parent 24c9df5 commit 6f3534e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.fledger
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM debian:bookworm-slim

RUN apt update && apt install patchelf
RUN apt update && apt install -y patchelf ca-certificates

COPY target-common/release/fledger fledger
RUN patchelf --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 fledger

FROM debian:bookworm-slim
WORKDIR /fledger
COPY --from=0 fledger /fledger/fledger
COPY --from=0 /etc/ssl /etc/ssl

ENTRYPOINT ["/fledger/fledger", "-vv"]
3 changes: 2 additions & 1 deletion Dockerfile.flsignal
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM debian:bookworm-slim

RUN apt update && apt install patchelf
RUN apt update && apt install -y patchelf ca-certificates

COPY target-common/release/flsignal flsignal
RUN patchelf --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 flsignal

FROM debian:bookworm-slim
WORKDIR /fledger
COPY --from=0 flsignal /fledger/flsignal
COPY --from=0 /etc/ssl /etc/ssl

ENTRYPOINT ["/fledger/flsignal", "-vv"]

0 comments on commit 6f3534e

Please sign in to comment.