fixe le bug dans secret2dunikey and daemonize tip container

This commit is contained in:
joseelinchevalay 2020-03-31 11:46:27 +02:00
parent 879bf6ef11
commit 4f428b5dc3
3 changed files with 9 additions and 2 deletions

View File

@ -54,12 +54,19 @@ services:
build:
context: .
dockerfile: ./secret2dunikey/Dockerfile
volumes:
- ~/.ssb-test/:/home/astroport/.ssb
tip:
build:
context: .
dockerfile: ./tip/Dockerfile
volumes:
- ~/.ssb-test/:/home/astroport/.ssb
links:
- ssb-server
depends_on:
- ssb-server
- secret2dunikey
ipfs:
image: ipfs/go-ipfs
volumes:

View File

@ -5,7 +5,7 @@ LABEL MAINTAINER=chamalow <@qio8/4L4vnzq3qRD0dqKI7sTpey54u8ZWbaICfpJOZw=.ed25519
ENV DEBIAN_FRONTEND noninteractive
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 && \
rm -rf /var/lib/apt/lists/* && \
useradd -ms /bin/bash astroport

View File

@ -38,4 +38,4 @@ RUN . ~/.bashrc && \
WORKDIR /home/astroport
VOLUME [ "/home/astroport/.ssb"]
ENTRYPOINT ["/bin/bash"]
CMD ["/home/astroport/tip"]
CMD ["-c", "tail" ,"-f", "/dev/null"]