add docker-credential-pass to dev img and use it in travis
This commit is contained in:
1 parent
2592c5eb43
commit
5ab5c7c243
3 files changed
+42
-7
No files matched your search
+9
-2
@@ -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