fixe le bug dans secret2dunikey and daemonize tip container
This commit is contained in:
parent
879bf6ef11
commit
4f428b5dc3
|
@ -54,12 +54,19 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./secret2dunikey/Dockerfile
|
dockerfile: ./secret2dunikey/Dockerfile
|
||||||
|
volumes:
|
||||||
|
- ~/.ssb-test/:/home/astroport/.ssb
|
||||||
tip:
|
tip:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./tip/Dockerfile
|
dockerfile: ./tip/Dockerfile
|
||||||
|
volumes:
|
||||||
|
- ~/.ssb-test/:/home/astroport/.ssb
|
||||||
links:
|
links:
|
||||||
- ssb-server
|
- ssb-server
|
||||||
|
depends_on:
|
||||||
|
- ssb-server
|
||||||
|
- secret2dunikey
|
||||||
ipfs:
|
ipfs:
|
||||||
image: ipfs/go-ipfs
|
image: ipfs/go-ipfs
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -5,7 +5,7 @@ LABEL MAINTAINER=chamalow <@qio8/4L4vnzq3qRD0dqKI7sTpey54u8ZWbaICfpJOZw=.ed25519
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
RUN apt-get update -y && \
|
RUN apt-get update -y && \
|
||||||
apt-get install base58=1.0.3-1 python3-pip=18.1-5 python3-setuptools=44.0.0-1 -y && \
|
apt-get install base58=1.0.3-1 python3-pip=20.0.2-2 python3-setuptools=44.0.0-1 -y && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
useradd -ms /bin/bash astroport
|
useradd -ms /bin/bash astroport
|
||||||
|
|
|
@ -38,4 +38,4 @@ RUN . ~/.bashrc && \
|
||||||
WORKDIR /home/astroport
|
WORKDIR /home/astroport
|
||||||
VOLUME [ "/home/astroport/.ssb"]
|
VOLUME [ "/home/astroport/.ssb"]
|
||||||
ENTRYPOINT ["/bin/bash"]
|
ENTRYPOINT ["/bin/bash"]
|
||||||
CMD ["/home/astroport/tip"]
|
CMD ["-c", "tail" ,"-f", "/dev/null"]
|
||||||
|
|
Loading…
Reference in New Issue