anchor.diff:  # 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
  +    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 sed -i '/rpmforge-extras/,/^enabled\|^\[/s/^enabled.*/enabled = 1/' /etc/yum.repos.d/rpmforge.repo
  -
  -RUN  linux32 yum -y install \
  +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
  -RUN cd /tmp && tar -xzf /tmp/tar123.tar.gz
  -RUN rm -f /bin/tar /bin/gtar
  -RUN cd /tmp/tar-1.23 && FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/ && make && make install && ln -sf /bin/tar /bin/gtar
  +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
  -RUN cd /tmp && tar -xzf /tmp/openssl-1.0.1r.tar.gz
  -RUN cd /tmp/openssl-1.0.1r && ./Configure linux-generic32 --openssldir=/opt/openssl && make && make install
  +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
  
positive.code:        OPENSSLDIR=/opt/openssl \
         CURLDIR=/opt/curl \
         CPPFLAGS="-I/opt/curl/include" \
         LDFLAGS="-L/opt/curl/lib" && make all && make install
  
  RUN mkdir -p /etc/ld.so.conf.d/
  RUN echo "/opt/curl/lib" > /etc/ld.so.conf.d/optcurl.conf
  RUN ldconfig
  
  #RUN linux32 /bin/bash -l -c "CPPFLAGS='-I/usr/local/rvm/gems/ruby-2.2.2/include' rvm --static install 2.2.2 --static --with-static-linked-ext --with-openssl-dir=/opt/openssl"
  RUN linux32 /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"
  RUN linux32 /bin/bash -l -c " rvm --default use 2.2.2"
  RUN /bin/bash -l -c " gem install bundler --no-ri --no-rdoc"
  
  RUN git config --global user.email "package@datadoghq.com"
  RUN git config --global user.name "Centos Omnibus Package"
  RUN git clone https://github.com/DataDog/dd-agent-omnibus.git
  
  # TODO: remove the checkout line after the merge to master
  RUN cd dd-agent-omnibus && \
  
negative.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 && \
      linux32 /bin/bash -l -c "rvm requirements" && \
      linux32 /bin/bash -l -c " rvm install 2.1.5" && \
      rm -rf /usr/local/rvm/src/ruby-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 && \
  