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