From 7459e66b717ebcdba7a34a3a4e0a351d6dcd1a0f Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Mon, 2 Jul 2018 04:21:58 +0100 Subject: [PATCH] add docker static client to filebrowser/dev --- .travis.yml | 2 +- dockerfiles/dev | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index dbe2fb3e..54b20e39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/dockerfiles/dev b/dockerfiles/dev index ceb19ac0..0761a949 100644 --- a/dockerfiles/dev +++ b/dockerfiles/dev @@ -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