Update Waku dockerfile and readme [skip ci] (#480)

This commit is contained in:
Kim De Mey 2020-04-02 16:57:35 +02:00 committed by GitHub
parent 13e5aa4e50
commit 52388d06c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 4 deletions

View File

@ -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,

View File

@ -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/*

View File

@ -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 \