This is an automated email from the ASF dual-hosted git repository.

rawlin pushed a commit to branch 4.1.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/4.1.x by this push:
     new 9c2d336  Pin FFI gem version to 1.12.2 for Ruby 2.0 compatibility 
(#4749) (#4777)
9c2d336 is described below

commit 9c2d3363e1c7197a0c48c03dc420810e55d70d95
Author: Rawlin Peters <[email protected]>
AuthorDate: Wed Jun 10 16:00:59 2020 -0600

    Pin FFI gem version to 1.12.2 for Ruby 2.0 compatibility (#4749) (#4777)
    
    (cherry picked from commit a7fca2dc22a4d3df18d08c56bd145f4c92b4eddd)
    
    Co-authored-by: Zach Hoffman <[email protected]>
---
 infrastructure/docker/build/Dockerfile-traffic_portal | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/infrastructure/docker/build/Dockerfile-traffic_portal 
b/infrastructure/docker/build/Dockerfile-traffic_portal
index 7186cdc..4049b4c 100644
--- a/infrastructure/docker/build/Dockerfile-traffic_portal
+++ b/infrastructure/docker/build/Dockerfile-traffic_portal
@@ -42,8 +42,11 @@ RUN  yum -y install \
                ruby-devel \
                rubygems
 
-RUN    gem install rb-inotify -v 0.9.10 && \
-       gem install compass && \
+RUN    gem install \
+               # FFI 1.13 cannot be installed with Ruby 2.0
+               ffi:1.12.2 \
+               rb-inotify:0.9.10 \
+               compass && \
        npm -g install bower grunt-cli
 
 # bower will not run as root by default

Reply via email to