change documentation
This commit is contained in:
parent
7ef3a65ab5
commit
671916418b
|
@ -13,6 +13,10 @@ RUN apt-get update -y && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
useradd -ms /bin/bash astroport
|
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
|
USER astroport
|
||||||
WORKDIR /home/astroport
|
WORKDIR /home/astroport
|
||||||
RUN mkdir -p /home/astroport/.ssb/
|
RUN mkdir -p /home/astroport/.ssb/
|
||||||
|
|
18
readme.md
18
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)
|
![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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue