From 52388d06c0026221b8360d76f0769835e03a5406 Mon Sep 17 00:00:00 2001 From: Kim De Mey Date: Thu, 2 Apr 2020 16:57:35 +0200 Subject: [PATCH] Update Waku dockerfile and readme [skip ci] (#480) --- waku/README.md | 9 +++++++++ waku/docker/Dockerfile | 4 ++-- waku/docker/Makefile | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/waku/README.md b/waku/README.md index 9534ac9df..78e94f20b 100644 --- a/waku/README.md +++ b/waku/README.md @@ -9,6 +9,15 @@ an experimental Whisper - Waku bridging option. # How to Build & Run +## Prerequisites + +* GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer. +* PCRE + +More information on the installation of these can be found [here](https://github.com/status-im/nimbus#prerequisites). + +## Build & Run + ```bash make # The first `make` invocation will update all Git submodules and prompt you to run `make` again. # It's only required once per Git clone. You'll run `make update` after each `git pull`, in the future, diff --git a/waku/docker/Dockerfile b/waku/docker/Dockerfile index 435f13a56..b4f1589db 100644 --- a/waku/docker/Dockerfile +++ b/waku/docker/Dockerfile @@ -3,7 +3,7 @@ FROM debian:bullseye-slim AS build SHELL ["/bin/bash", "-c"] RUN apt-get -qq update \ - && apt-get -qq -y install build-essential make wget librocksdb-dev libpcre3-dev git &>/dev/null \ + && apt-get -qq -y install build-essential make wget libpcre3-dev git curl &>/dev/null \ && apt-get -qq clean ARG GIT_REVISION @@ -24,7 +24,7 @@ FROM debian:bullseye-slim SHELL ["/bin/bash", "-c"] RUN apt-get -qq update \ - && apt-get -qq -y install librocksdb-dev libpcre3 &>/dev/null \ + && apt-get -qq -y install libpcre3 &>/dev/null \ && apt-get -qq clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* diff --git a/waku/docker/Makefile b/waku/docker/Makefile index 43b6c36e3..7fc69ab09 100644 --- a/waku/docker/Makefile +++ b/waku/docker/Makefile @@ -4,8 +4,8 @@ SHELL := bash # the shell used internally by "make" GIT_REVISION ?= $(shell git rev-parse HEAD) -IMAGE_TAG ?= waku_latest -IMAGE_NAME ?= statusteam/nimbus_waku_node:$(IMAGE_TAG) +IMAGE_TAG ?= latest +IMAGE_NAME ?= statusteam/nimbus_wakunode:$(IMAGE_TAG) build: docker build \