Commit Graph

44 Commits

Author SHA1 Message Date
gabrielmer c3cb06ac6c
fix: libnegentropy integration (#2996) 2024-08-24 10:00:19 -06:00
Jakub Sokołowski 2edc0bc56a
fix: copy libnegentropy.so from nim-build image (#2991)
We shouldn't assume it exists on the host.

Introduced by:
https://github.com/waku-org/nwaku/pull/2403

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-22 11:27:48 -06:00
fryorcraken d24b56b90a
chore: install dig (#2975)
Install `dig` to enable automatic detection of domain names to increase support of WSS.
2024-08-19 09:22:26 +02:00
Simon-Pierre Vivier 2cc86c51da
feat: Nwaku Sync (#2403)
* feat: Waku Sync Protocol

* feat: state machine (#2656)

* feat: pruning storage mehcanism (#2673)

* feat: message transfer mechanism & tests (#2688)

* update docker files

* added ENR filed for sync & misc. fixes

* adding new sync range param & fixes

---------

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
2024-08-13 07:27:34 -04:00
Roman Zajic 269139cf28
chore: add ARM64 support for Linux/MacOS (#2580) 2024-04-12 14:11:35 +08:00
Ivan FB ba90e3f59b
Dockerfile: workaround to allow creation of docker images (#2569) 2024-04-08 11:26:47 +02:00
Jakub Sokołowski 55ff667478
chore(ci): use git describe for image version
This way we get both the full commit and the version, whether it's a
proper release or not.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-29 10:40:14 +01:00
Vaclav Pavlin c86dc4422f
fix(dockerfile): update dockerignore and base image (#2262) 2023-12-01 11:35:50 +01:00
Jakub Sokołowski d6c7cd256f
ci: add jq, fix RLN build script to not use rustup
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>
2023-09-19 16:20:06 +02:00
Aaryamann Challani 645b034367
feat(rln-relay): removed rln from experimental 🚀 (#2001)
* feat(rln-relay): removed rln from experimental 🚀

* fix(waku_node): if rln-relay is nil, return true

* chore(tests): mark rest health as skipped
2023-09-11 12:02:31 +05:30
Ivan Folgueira Bande 0c40588aff
Dockerfile: forcing a particular heaptrack version to avoid build issues (#1979) 2023-09-01 08:17:12 +02:00
Hanno Cornelius b9d5d28af5
chore: remove references to v2 (#1898)
* chore: remove references to v2

* fix: lingering rln-relay import path
2023-08-09 18:11:50 +01:00
Aaryamann Challani bf8fa8b972
test(ci): rln-relay compilation in docker (#1853)
* test(ci): rln-relay compilation in docker

* fix(ci): make explicit digest in base image
2023-07-24 19:25:28 +02:00
Ivan Folgueira Bande 3906a9315f
Dockerfile: Adding 'libpq-dev' to the resulting docker image (#1827) 2023-06-27 15:59:17 +02:00
Alvaro Revuelta fce845bb04
fix: fix mac docker build alpine version (#1801) 2023-06-15 19:17:11 +02:00
Vaclav Pavlin 39902dc2f2
chore(makefile): unify where chronicles_log_level is set (#1748) 2023-05-23 10:44:57 +02:00
Ivan Folgueira Bande d990d9fa5b
Dockerfile: forcing the use of alpine:3.16 when building the heaptrack app (#1736) 2023-05-18 10:03:47 +02:00
Ivan Folgueira Bande 9b9172ab82
feat(mem-analysis): Adding Dockerfile_with_heaptrack (#1681)
* 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>
2023-04-25 17:54:28 +02:00
Aaryamann Challani 6584b58593
feat(rln-relay): use precompiled resources w/ rln (#1578)
* feat(rln-relay): use precompiled resources w/ rln

* chore: remove resource cp stage from Dockerfile

* chore(makefile): remove DOCKER_IMAGE_STAGE from makefile

* chore: bump submodule, rev branch
2023-03-13 12:03:21 +05:30
G 002316cceb
feat(rln): use zerokit as static lib (#1385) 2022-12-06 00:33:03 +01:00
Lorenzo Delgado 0f91f97a9a
ci(jenkins): split dockerfile into production and experimental stages 2022-12-01 12:45:06 +01:00
Lorenzo Delgado 35c89ed176
ci(jenkins): support experimental flag in the pr and release pipelines 2022-12-01 11:28:09 +01:00
Lorenzo Delgado 3a4c4c660b
chore(build): simplify project makefile and update dockerfile 2022-11-30 21:02:39 +01:00
Jakub Sokołowski 3c8fab7bb5
ci: fix path to migrations in Dockerfile
Broken by moving the `migrations_scripts` folder:
https://github.com/status-im/nwaku/pull/1330

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-04 13:37:02 +01:00
Aaryamann Challani e07f422854
fix(Dockerfile): use alpine edge (#1241)
There will be a follow up PR to tighten the base image used with a sha256 hash
2022-10-06 17:13:45 +05:30
Sanaz Taheri Boshrooyeh a2dca360d1
Update Dockerfile 2022-10-05 12:24:11 -07:00
Sanaz Taheri Boshrooyeh 091ea33158
fix(rln-relay): enables rln compilation on the docker (#1235) 2022-10-05 20:06:03 +01:00
Jakub Sokołowski fbd9490df0
ci: install 1.64 rust in Docker image
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>
2022-10-05 14:07:21 +02:00
Daniel Kaiser 42f48a6892
chore(docker): use NIMFLAGS instead of NIM_PARAMS (#961)
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
2022-05-17 21:11:07 +02:00
Sanaz Taheri Boshrooyeh 54d64a63fe
feat: make the rln-relay protocol available in the waku docker image (#924) 2022-03-31 13:15:00 -07:00
Sanaz Taheri Boshrooyeh 63e23092e0
chore: bumps up the alpine version to 3.15 (#923) 2022-03-29 12:27:12 -07:00
Sanaz Taheri Boshrooyeh 878804e165
Revert "chore(rln-relay): Copy rln lib into wakunode2 docker container (#909)" (#916) 2022-03-26 13:01:27 +08:00
Sanaz Taheri Boshrooyeh 469f421efc
chore(rln-relay): Copy rln lib into wakunode2 docker container (#909)
* Update Dockerfile

* makes librln optional

* adds comments

* marks the entire rlnlib directory optional
2022-03-25 13:16:02 -07:00
Jakub Sokołowski 263284978a ci: add commit as label to Docker image
Helps with debugging issues related to specific versions.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-21 18:25:14 +01:00
Hanno Cornelius 4a175ab8f6
Fix migration failure (#797) 2021-12-08 10:38:43 +01:00
Hanno Cornelius fff5a3559e
Fix: Remove rln file from Docker image (#606) 2021-06-10 09:18:52 +02:00
Hanno Cornelius 307a49bb78
Fix Docker image - missing librln.so file (#406) 2021-03-04 17:55:27 +02:00
Jakub Sokołowski 36c1441ce0
ci: add rust and cargo to fix builds (#400)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-01 16:19:58 +02:00
Dean Eigenmann 9df31621c4
Update Dockerfile 2020-11-04 16:21:17 +01:00
Dean Eigenmann b2edfe8dda
feature/start-protocol-command (#209)
* started working

* fixes

* rename start -> mount

* started logging

* mounting relay

* Update wakunode2.nim

* start of fixe

* fix

* fix

* fixes

* Update waku/node/v2/wakunode2.nim

Co-authored-by: Oskar Thorén <ot@oskarthoren.com>

* removed comment

* fix

* update

* changed the default

Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-10-20 10:36:27 +08:00
Jakub Sokołowski fabccdeca8 fix Dockerfile by symlinking the wakunode binary
This is necessary becasue `COPY` creates a directory for some reason.

Resolves: #166

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-22 23:26:24 +02:00
Jakub Sokołowski 8ba3db1a7e
dockerfile: parametrizing entrypoint doesn't work
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-11 14:02:13 +02:00
Jakub Sokołowski 34353cc96e parametrize Dockerfile to make wakunode2
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-11 08:23:38 +02:00
Jakub Sokołowski 8a648a44aa add a Dockerfile for creating nim-waku images
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>
2020-05-27 12:51:20 +02:00