diff --git a/docker-compose.yml b/docker-compose.yml index 4e2c65f..ea7cde4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/secret2dunikey/Dockerfile b/secret2dunikey/Dockerfile index c9bfa39..bbf8f30 100644 --- a/secret2dunikey/Dockerfile +++ b/secret2dunikey/Dockerfile @@ -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 diff --git a/tip/Dockerfile b/tip/Dockerfile index e2226bc..5d18cb9 100644 --- a/tip/Dockerfile +++ b/tip/Dockerfile @@ -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"]