Fix Docker image - missing librln.so file (#406)

This commit is contained in:
Hanno Cornelius 2021-03-04 17:55:27 +02:00 committed by GitHub
parent cc962f2dd5
commit 307a49bb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3
# Copy to separate location to accomodate different MAKE_TARGET values # Copy to separate location to accomodate different MAKE_TARGET values
COPY --from=nim-build /app/build/$MAKE_TARGET /usr/local/bin/ COPY --from=nim-build /app/build/$MAKE_TARGET /usr/local/bin/
# Fix for 'Error loading shared library vendor/rln/target/debug/librln.so: No such file or directory'
COPY --from=nim-build /app/vendor/rln/target/debug/librln.so vendor/rln/target/debug/librln.so
# Symlink the correct wakunode binary # Symlink the correct wakunode binary
RUN ln -sv /usr/local/bin/$MAKE_TARGET /usr/bin/wakunode RUN ln -sv /usr/local/bin/$MAKE_TARGET /usr/bin/wakunode