Skip to content

Commit

Permalink
fix: copy libnegentropy.so from nim-build image
Browse files Browse the repository at this point in the history
We shouldn't assume it exists on the host.

Introduced by:
#2403

Signed-off-by: Jakub Sokołowski <[email protected]>
  • Loading branch information
jakubgs committed Aug 21, 2024
1 parent c7093d7 commit 051b766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN apk add --no-cache libgcc pcre-dev libpq-dev bind-tools
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/
Expand Down

0 comments on commit 051b766

Please sign in to comment.