anchor.diff:  # This is a hack for rrdtool
   RUN ln -s /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE /usr/lib/perl5/CORE
   
  +# bootstap our CERTS
  +RUN /opt/curl/bin/curl -fsSL curl.haxx.se/ca/cacert.pem \
  +                       -o $(/bin/bash -l -c "ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE'")
  +
   VOLUME ["/dd-agent-omnibus/pkg"]
   
   ENTRYPOINT linux32 /bin/bash -l /dd-agent-omnibus/omnibus_build.sh
  
positive.code: 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 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 && \
      linux32 /bin/bash -l -c "bundle install --binstubs"
  
negative.code: 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 && \
      tar -C /usr/local -xzf /tmp/go1.3.3.linux-386.tar.gz && \
      echo "PATH=$PATH:/usr/local/go/bin" | tee /etc/profile.d/go.sh
  
  # 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
  
  RUN 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
  