anchor.diff:      libffi-devel \
       libyaml-devel
   
  -# RUN cd tmp && \
  -#     wget https://www.openssl.org/source/openssl-1.0.2a.tar.gz && \
  -#     tar -zxvf openssl-*.tar.gz && \
  -#     cd openssl-*/ && \
  -#     ./config -fpic shared && make && make install && \
  -#     echo "/usr/local/ssl/lib" >> /etc/ld.so.conf && \
  -#     ldconfig
  -
  -RUN yum -y install \
  -    make \
  -    automake \
  -    autoconf \
  -    install \
  -    perl-ExtUtils-MakeMaker \
  -    fakeroot
   
   RUN curl -o /tmp/openssl-1.0.2u.tar.gz http://artfiles.org/openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz && \
       cd /tmp && tar -xzf /tmp/openssl-1.0.2u.tar.gz && \
  
positive.code: RUN mkdir -p /etc/ld.so.conf.d/ && echo "/opt/curl/lib" > /etc/ld.so.conf.d/optcurl.conf && ldconfig
  
  # setup ruby 2.2.2 with bootstrap ruby, setting up the CERTS
  RUN /bin/bash -l -c "CPPFLAGS='-I/usr/local/rvm/gems/ruby-2.2.2/include' rvm install 2.2.2 --with-openssl-dir=/opt/openssl" && \
      /bin/bash -l -c "rvm --default use 2.2.2" && \
      /opt/curl/bin/curl -kfsSL curl.haxx.se/ca/cacert.pem \
                         -o $(/bin/bash -l -c "ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE'") && \
      /bin/bash -l -c "gem install bundler -v 1.17.3" && rm -rf /usr/local/rvm/src/ruby-2.2.2
  
  # Update go to 1.10.3
  RUN curl -o /tmp/go1.10.3.linux-amd64.tar.gz https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz && \
  
negative.code: COPY ./curl-7.46.0.tar.gz /tmp/curl-7.46.0.tar.gz
  
  RUN cd /tmp && tar -xzf /tmp/curl-7.46.0.tar.gz && \
      cd /tmp/curl-7.46.0 && \
      LIBS="-ldl" ./configure --enable-static --prefix=/opt/curl --with-ssl=/opt/openssl && \
      make all && \
      make install && \
      cd - && \
      rm -rf /tmp/curl-7.46.0 && \
      rm -f /tmp/curl-7.46.0.tar.gz
  
  
  ENV PATH="/opt/curl/bin:${PATH}"
  
  # Set up an RVM with Ruby 2.1.5
  # RUN gpg --keyserver hkp://keys.openpgp.org --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
  RUN gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
  RUN curl -sSL https://get.rvm.io | bash -s stable && \
      /bin/bash -l -c "rvm requirements" && \
      /bin/bash -l -c "rvm install 2.1.5" && \
  