mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-26 23:02:30 +00:00
chore(rln-relay): Copy rln lib into wakunode2 docker container (#909)
* Update Dockerfile * makes librln optional * adds comments * marks the entire rlnlib directory optional
This commit is contained in:
parent
0131d1437e
commit
469f421efc
@ -44,7 +44,9 @@ 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'
|
||||
# COPY --from=nim-build /app/vendor/rln/target/debug/librln.so vendor/rln/target/debug/librln.so
|
||||
# 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 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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user