Docker for Mac: Version 1.12.1-beta25 (build: 11807)
I’m following the steps in “Work with a development container”. Previous steps in “Get the Required Software” and “Configure git for contributing” all work without error. After ensuring I have a removed all images and containers, I attempt a “make shell”.
I had occasional errors in the stage where the are many “gets” (often consistently on Get 205) which I put down to network problems. After each fail I would consistently remove all images and containers to start cleanly. When I get through all the software download, I hit a consistent failure:
Step 16 : ENV GO_VERSION 1.7
—> Running in 232e628c18cb
—> 2182be9337f8
Removing intermediate container 232e628c18cb
Step 17 : RUN curl -fsSL “https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz” | tar -xzC /usr/local
—> Running in 56f0996f9f1f
curl: (60) SSL certificate problem: certificate is not yet valid
More details here: curl - SSL CA Certificates
curl performs SSL certificate verification by default, using a “bundle”
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn’t adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you’d like to turn off curl’s verification of the certificate, use
the -k (or --insecure) option.
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command ‘/bin/sh -c curl -fsSL “https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz” | tar -xzC /usr/local’ returned a non-zero code: 2
make: *** [build] Error 2
I can’t find reference to the problem on stackoverflow, the forums, github issues for Docker for Mac, or in the docs. Is this a known problem with Docker for Mac? Obvious newbie solution? TIA