From 671916418b5d54e09df4e9d6af0b949d5be40054 Mon Sep 17 00:00:00 2001 From: joseelinchevalay Date: Mon, 16 Mar 2020 16:40:23 +0100 Subject: [PATCH] change documentation --- Dockerfile | 4 ++++ readme.md | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/Dockerfile b/Dockerfile index ffa7773..e7c1773 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,10 @@ RUN apt-get update -y && \ rm -rf /var/lib/apt/lists/* && \ useradd -ms /bin/bash astroport +RUN git clone https://git.scuttlebot.io/%25133ulDgs%2FoC1DXjoK04vDFy6DgVBB%2FZok15YJmuhD5Q%3D.sha256 sbotc +WORKDIR /sbotc +RUN make && make install + USER astroport WORKDIR /home/astroport RUN mkdir -p /home/astroport/.ssb/ diff --git a/readme.md b/readme.md index a0a9245..e664e0f 100644 --- a/readme.md +++ b/readme.md @@ -59,4 +59,22 @@ Then, browse your filesystem to select your Duniter secret key stored in ~/.ssb/ ![Cesium log with keychain file](https://git.p2p.legal/axiom-team/ssb-g1like/raw/dev-boris/doc/cesium-dunikey-800.png) +## With docker (experimental) +First you need to build docker image + +``` +docker build -t ssb-g1like . +``` + +create your dunikey + +``` +docker run -ti --rm -v ~/.ssb:/home/astroport/.ssb ssb-g1like -c /usr/bin/secret2dunikey +``` + +run main script + +``` +docker run -ti --rm -v ~/.ssb:/home/astroport/.ssb ssb-g1like +```