dangogh commented on a change in pull request #3152: fix builder Dockerfiles
URL: https://github.com/apache/trafficcontrol/pull/3152#discussion_r243707129
 
 

 ##########
 File path: infrastructure/docker/build/Dockerfile-traffic_portal
 ##########
 @@ -35,12 +37,20 @@ RUN        yum -y install \
                libffi-devel \
                make \
                nodejs \
-               npm \
-               ruby-devel \
-               rubygems
+               npm
+
+# NOTE: error installing with default ruby 2.0.0.   This allows us to upgrade 
to 2.3
+RUN    yum -y install \
+               centos-release-scl \
+               openssl-devel && \
+       yum -y install \
+               rh-ruby23 \
+               rh-ruby23-ruby-devel \
+               rh-ruby23-runygems
 
 Review comment:
   just checked -- rubygems gets installed anyway because another package 
depends on it.  Turns out that `yum install ...` succeeds if one of the 
packages to be installed succeeds,  so no error here..

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to