To resolve RLN build issues like this:
```
Building: librln_v0.3.4.a
./scripts/build_rln.sh: line 29: rustup: command not found
Warning: to ensure you are building in a supported repo state, please always run "make update" after "git pull"
(it looks like you've forgotten to do this).
This also applies whenever you switch to a new branch or commit, e.g.: whenever you run "git checkout ...".
Failed to download -rln.tar.gz
./scripts/build_rln.sh: line 42: jq: command not found
error: could not find `Cargo.toml` in `/app` or any parent directory
make: *** [Makefile:131: librln_v0.3.4.a] Error 127
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
* Adding Dockerfile_with_heaptrack
* build: merge heaptrack dockerfile with production dockerfile (#1682)
* Avoid blindly copy /usr/lib/ and install only the needed libraries
* Adding heaptracker options in the Makefile
* Dockerfile simplification. (apk add libunwind)
* Dockerfile, Makefile: ++heaptrack params to nim build & 'heaptrack_support' in Nim compiler
* Dockerfile, Makefile: more convenient name for 'NIM_COMMIT' Docker arg
* Making 'NIM_COMMIT' more explicit
---------
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
Necessary to fix errors like:
```
error: package `ethers-core v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)` cannot be built
because it requires rustc 1.62 or newer, while the currently active rustc version is 1.60.0
```
Also upgraded Alpine from `3.15` to `3.16`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
NIM_PARAMS is and internal variable.
NIMFLAGS should be used outside of nimbus build system.
includes:
* fix(docker): copy RLN parameters.key into the container
* chore(makefile): NIMFLAGS in docker img rule
Also I remove old Dockerfile at waku/node/v1/docker.
Images are uploaded to our Docker Hub account:
https://hub.docker.com/r/statusteam/nim-waku
Signed-off-by: Jakub Sokołowski <jakub@status.im>