anchor.diff:      perl-devel \
       zlib-devel
   
  -RUN curl -o /tmp/curl-7.46.0.tar.gz http://curl.askapache.com/download/curl-7.46.0.tar.gz
  -RUN cd /tmp && tar -xzf /tmp/curl-7.46.0.tar.gz
  -RUN cd /tmp/curl-7.46.0 && ./configure LIBS="-ldl" --host=i686-pc-linux-gnu --enable-static --prefix=/opt/curl --with-ssl=/opt/openssl && make all && make install
  +RUN curl -o /tmp/curl-7.46.0.tar.gz http://curl.askapache.com/download/curl-7.46.0.tar.gz && \
  +    cd /tmp && tar -xzf /tmp/curl-7.46.0.tar.gz && \
  +    cd /tmp/curl-7.46.0 && ./configure LIBS="-ldl" --host=i686-pc-linux-gnu --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
  +    
   
   RUN curl -o /tmp/git-2.7.0.tar.gz https://www.kernel.org/pub/software/scm/git/git-2.7.0.tar.gz
   RUN cd /tmp && tar -xzf /tmp/git-2.7.0.tar.gz
  
positive.code: # Set up an RVM with Ruby 2.2.2
  RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  RUN linux32 yum -y install tar
  RUN \curl -sSL https://get.rvm.io |  linux32 bash -s stable
  RUN linux32 /bin/bash -l -c "rvm requirements"
  RUN linux32 /bin/bash -l -c " rvm install 2.1.5"
  
  # Install go (required by to build gohai)
  RUN curl -o /tmp/go1.3.3.linux-386.tar.gz https://storage.googleapis.com/golang/go1.3.3.linux-386.tar.gz && \
  
negative.code: # Upgrade openssl
  RUN curl -L -o /tmp/rpmforge-release-0.5.3-1.el5.rf.i386.rpm http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm && \
      rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt && \
      yum -y localinstall /tmp/rpmforge-release-0.5.3-1.el5.rf.i386.rpm && \
      sed -i '/rpmforge-extras/,/^enabled\|^\[/s/^enabled.*/enabled = 1/' /etc/yum.repos.d/rpmforge.repo
  
  RUN linux32 yum -y install \
      install \
      perl-ExtUtils-MakeMaker \
      fakeroot
  
  # Install tar >> 1.23 so that Omnibus can use the -J option
  RUN curl -o /tmp/tar123.tar.gz http://ftp.gnu.org/gnu/tar/tar-1.23.tar.gz && \ 
      cd /tmp && tar -xzf /tmp/tar123.tar.gz && \
      rm -f /bin/tar /bin/gtar && \
      cd /tmp/tar-1.23 && FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/ && make && make install && \
      ln -sf /bin/tar /bin/gtar && \
      cd - && rm -rf /tmp/tar123.tar.gz
  
  RUN curl -o /tmp/openssl-1.0.1r.tar.gz http://artfiles.org/openssl.org/source/openssl-1.0.1r.tar.gz && \
      cd /tmp && tar -xzf /tmp/openssl-1.0.1r.tar.gz && \
      cd /tmp/openssl-1.0.1r && ./Configure linux-generic32 --openssldir=/opt/openssl && make && make install && \
      cd - && rm -rf /tmp/openssl-1.0.1r && rm /tmp/openssl-1.0.1r.tar.gz
  
  # now build git
  # dependencies
  