You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/12/21 22:40:38 UTC

[GitHub] dangogh commented on a change in pull request #3152: fix builder Dockerfiles

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:
users@infra.apache.org


With regards,
Apache Git Services