Bypass Cloudfront and use S3 bucket for Docker client

Related issue: https://github.com/docker/for-linux/issues/470
This commit is contained in:
Stan Hu 2018-10-30 10:24:51 -07:00
parent a7f8f8edd4
commit 5bd352d196

View file

@ -2,7 +2,7 @@ FROM ruby:2.4
WORKDIR /home/qa
RUN wget -q https://npm.taobao.org/mirrors/moby/Linux/x86_64/docker-1.12.1.tgz && \
RUN wget -q http://get.docker.com.s3.amazonaws.com/builds/Linux/x86_64/docker-1.12.1.tgz && \
tar -zxf docker-1.12.1.tgz && mv docker/docker /usr/local/bin/docker && \
echo "0c6b9b39a87a82794f7165ce85860bacd7454171cd034f913b95e60f542716f0 /usr/local/bin/docker" | sha256sum -c - && \
rm docker-1.12.1.tgz