Revert "chore(rln-relay): Copy rln lib into wakunode2 docker container (#909)" (#916)

This commit is contained in:
Sanaz Taheri Boshrooyeh 2022-03-25 21:01:27 -08:00 committed by GitHub
parent 469f421efc
commit 878804e165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -44,9 +44,7 @@ RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3
COPY --from=nim-build /app/build/$MAKE_TARGET /usr/local/bin/
# If rln enabled: fix for 'Error loading shared library vendor/rln/target/debug/librln.so: No such file or directory'
# It is vital to append * to the optional files, otherwise, COPY will throw an error
# the librln.so may/may not exist depending on whether the rln compiler flag is part of NIM_PARAMS or not
COPY --from=nim-build /app*/vendor/rln/target/debug/librln.so vendor/rln/target/debug/librln.so
# COPY --from=nim-build /app/vendor/rln/target/debug/librln.so vendor/rln/target/debug/librln.so
# Copy migration scripts for DB upgrades
COPY --from=nim-build /app/waku/v2/node/storage/migration/migrations_scripts/ /app/waku/v2/node/storage/migration/migrations_scripts/