add docker static client to filebrowser/dev

This commit is contained in:
1138-4EB 2018-07-02 04:21:58 +01:00
parent 28952e81bb
commit 7459e66b71
2 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,7 @@ jobs:
script:
- cp dockerfiles/filebrowser Dockerfile
- echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin
- docker run --rm -itv $(pwd):$WDIR filebrowser/dev goreleaser
- docker run --rm -itv $(pwd):$WDIR -v /var/run/docker.sock:/var/run/docker.sock filebrowser/dev goreleaser
- docker logout
if: tag IS present
deploy:

View File

@ -22,4 +22,6 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/reposit
) && \
chmod +x /go/bin/dep && \
curl -sL https://git.io/goreleaser -o /go/bin/goreleaser && \
chmod +x /go/bin/goreleaser
chmod +x /go/bin/goreleaser && \
curl -fsSL https://download.docker.com/linux/static/edge/x86_64/docker-18.05.0-ce.tgz | tar xvz --strip-components=1 docker/docker -C /usr/local/bin && \
chmod +x /usr/local/bin/docker