deploy: 54d64a63fed236bd33667db225a3a4f6cccdb71c

This commit is contained in:
staheri14 2022-03-31 20:45:42 +00:00
parent 6a8c03d05d
commit 04e05363af
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@ FROM alpine:3.15 AS nim-build
ARG NIM_PARAMS
ARG MAKE_TARGET=wakunode2
ARG RLN=true
# Get build tools and required header files
RUN apk add --no-cache bash git rust cargo build-base pcre-dev linux-headers
@ -18,7 +19,7 @@ RUN git submodule update --init --recursive
RUN make -j$(nproc) deps
# Build the final node binary
RUN make -j$(nproc) $MAKE_TARGET NIM_PARAMS="$NIM_PARAMS"
RUN make -j$(nproc) $MAKE_TARGET NIM_PARAMS="$NIM_PARAMS" RLN="$RLN"
# ACTUAL IMAGE -------------------------------------------------------
@ -44,7 +45,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'
# 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/

View File

@ -2,7 +2,7 @@
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (libbacktrace) version-unused
# Libtool was configured on host fv-az453-705:
# Libtool was configured on host fv-az132-992:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,