Skip to content

Commit d8f58be

Browse files
committed
fix: add more explicit libraries to runtime image
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 957c6bd commit d8f58be

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,23 @@ RUN echo "Building tags/${NODE_VERSION}..." \
8383

8484
FROM debian:stable-slim as cardano-node
8585
ENV LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
86+
ENV PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
8687
COPY --from=builder /usr/local/lib/ /usr/local/lib/
8788
COPY --from=builder /usr/local/include/ /usr/local/include/
8889
COPY --from=builder /root/.local/bin/cardano-* /usr/local/bin/
8990
COPY bin/ /usr/local/bin/
9091
COPY config/ /opt/cardano/config/
9192
RUN apt-get update -y && \
9293
apt-get install -y \
94+
libffi7 \
9395
libgmp10 \
9496
libncursesw5 \
9597
libnuma1 \
98+
libsystemd0 \
99+
libssl1.1 \
100+
libtinfo6 \
101+
llvm-11-runtime \
102+
pkg-config \
96103
zlib1g && \
97104
chmod +x /usr/local/bin/* && \
98105
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)