From 65518d82c03edcb6af2b77f0534ed5354b456a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 21 Aug 2024 17:17:28 +0200 Subject: [PATCH] fix: copy libnegentropy.so from nim-build image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We shouldn't assume it exists on the host. Introduced by: https://github.com/waku-org/nwaku/pull/2403 Signed-off-by: Jakub SokoĊ‚owski --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bc18babfc6..9c09a1cf5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,13 +41,13 @@ LABEL version="unknown" EXPOSE 30303 60000 8545 # Referenced in the binary -RUN apk add --no-cache libgcc pcre-dev libpq-dev bind-tools +RUN apk add --no-cache libgcc pcre-dev openssl-dev libpq-dev bind-tools # Fix for 'Error loading shared library libpcre.so.3: No such file or directory' RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3 # Fix for 'Error loading shared library libnegentropy.so: No such file or directory' -ADD ./libnegentropy.so ./ +COPY --from=nim-build /app/libnegentropy.so ./ # Copy to separate location to accomodate different MAKE_TARGET values COPY --from=nim-build /app/build/$MAKE_TARGET /usr/local/bin/