add docker-credential-pass to dev img and use it in travis
Former-commit-id: 3deff7d6b345fd6c1e9bac71b446730631e891c9 [formerly 2525a27cb90b003f72c7d936e2f0224848e3e49f] [formerly c699da2816b0c61bfdaf0a8b40612b9d50734d73 [formerly 5ab5c7c24305b426b26778c92b17e711a269779e]] Former-commit-id: 7ed9366f3c83f50afef6b40d0006c32256d053f7 [formerly 0fc1beb902fbadc6f6388b10b7ed319e15fcb7d4] Former-commit-id: 7bd6bacacb114d72808ded8c102f8f14de450625
This commit is contained in:
@@ -23,5 +23,12 @@ 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 && \
|
||||
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
|
||||
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 /go/bin && \
|
||||
chmod +x /go/bin/docker && \
|
||||
curl -fsSL $( \
|
||||
curl -s https://api.github.com/repos/docker/docker-credential-helpers/releases/latest \
|
||||
| grep "browser_download_url.*pass-.*-amd64" \
|
||||
| cut -d : -f 2,3 \
|
||||
| tr -d \" \
|
||||
) | tar xv -C /go/bin && \
|
||||
chmod + /go/bin/docker-credential-pass
|
||||
|
||||
Reference in New Issue
Block a user