anchor.diff:  ARG INSTALL_AMQP=false
   
   RUN if [ ${INSTALL_AMQP} = true ]; then \
  -    apt-get install librabbitmq-dev -y && \
  +    # download and install manually, to make sure it's compatible with ampq installed by pecl later
  +    # install cmake first
  +    apt-get update && apt-get -y install cmake && \
  +    curl -L -o /tmp/rabbitmq-c.tar.gz https://github.com/alanxz/rabbitmq-c/archive/master.tar.gz && \
  +    mkdir -p rabbitmq-c && \
  +    tar -C rabbitmq-c -zxvf /tmp/rabbitmq-c.tar.gz --strip 1 && \
  +    cd rabbitmq-c/ && \
  +    mkdir _build && cd _build/ && \
  +    cmake .. && \
  +    cmake --build . --target install && \
       # Install the amqp extension
       pecl install amqp && \
       docker-php-ext-enable amqp && \
  
positive.code: ARG INSTALL_APCU=false
  
  RUN if [ ${INSTALL_APCU} = true ]; then \
      pecl install apcu && \
      docker-php-ext-enable apcu \
  ;fi
  
  
negative.code: 
  RUN if [ ${INSTALL_YAML} = true ]; then \
      apt-get install libyaml-dev -y ; \
      if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
          pecl install -a yaml-1.3.2; \
      else \
          pecl install yaml; \
      fi && \
      docker-php-ext-enable yaml \
  ;fi
  
  