diff --git a/docker-compose.yml b/docker-compose.yml index 2d681624..e7d05314 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -207,7 +207,8 @@ services: - SQA_OPT_OUT=true volumes: - ./docker/kratos/config:/etc/config/kratos - - type: volume + - + type: volume source: kratos-sqlite target: /var/lib/sqlite read_only: false @@ -235,11 +236,13 @@ services: command: serve -c /etc/config/kratos/kratos.yml volumes: - ./docker/kratos/config:/etc/config/kratos - - type: volume + - + type: volume source: kratos-sqlite target: /var/lib/sqlite read_only: false - - type: bind + - + type: bind source: ./.kratos.yml target: /etc/config/kratos/kratos.yml networks: diff --git a/docker/accounts/Dockerfile b/docker/accounts/Dockerfile index 41ce7f46..6a098092 100644 --- a/docker/accounts/Dockerfile +++ b/docker/accounts/Dockerfile @@ -6,12 +6,7 @@ ENV GOARCH amd64 WORKDIR /root -RUN apt-get update && \ - apt-get -y dist-upgrade && \ - apt-get -y autoremove && \ - apt-get -y install python3-pip sudo wget curl zip vim nano nload psmisc less mime-support logrotate cron && \ - apt-get clean && \ - go get -d -u github.com/NebulousLabs/skynet-accounts/... && \ +RUN go get -d -u github.com/NebulousLabs/skynet-accounts/... && \ ln -s $GOPATH/src/github.com/NebulousLabs/skynet-accounts ./ && \ cd $GOPATH/src/github.com/NebulousLabs/skynet-accounts && \ make release && \