apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.08k stars 344 forks source link

TP fails to build in docker on mac #3004

Closed dangogh closed 5 years ago

dangogh commented 5 years ago

Attempting to build traffic_portal in docker on mac fails with an SSLError. Output follows here -- machine and docker information further down in case that's relevant to reproducing the problem:

$ ./pkg -v traffic_portal_build
...
Step 6/10 : RUN gem install compass
...
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
    SSL_connect returned=1 errno=0 state=error: certificate verify failed
Successfully installed ffi-1.9.25
ERROR: Service 'traffic_portal_build' failed to build: The command '/bin/sh -c gem install compass' returned a non-zero code: 1
Failed to build traffic_portal_build.

Running on macOS High Sierra (10.13.6).

$ docker version
Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        e68fc7a
 Built:             Tue Aug 21 17:21:31 2018
 OS/Arch:           darwin/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       e68fc7a
  Built:            Tue Aug 21 17:29:02 2018
  OS/Arch:          linux/amd64
  Experimental:     true
$ docker-compose version
docker-compose version 1.22.0, build f46880f
docker-py version: 3.4.1
CPython version: 3.6.4
OpenSSL version: OpenSSL 1.0.2o  27 Mar 2018
mitchell852 commented 5 years ago

works on Linux though?

ocket8888 commented 5 years ago

Possibly related GitHub Issue? Also, potential fix.

rob05c commented 5 years ago

Fixed in https://github.com/apache/trafficcontrol/pull/3062