anchor.diff:  RUN if [ ${INSTALL_AMQP} = true ]; then \
       # download and install manually, to make sure it's compatible with ampq installed by pecl later
       # install cmake first
  -    apt-get -y install cmake && \
  +    apt-get -yqq 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 && \
  
positive.code:     cmake .. && \
      cmake --build . --target install && \
      # Install the amqp extension
      pecl install amqp && \
      docker-php-ext-enable amqp && \
      # Install the sockets extension
      docker-php-ext-install sockets \
  
negative.code: ENV IMAGEMAGICK_VERSION ${IMAGEMAGICK_VERSION}
  
  RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
      apt-get install -yqq libmagickwand-dev imagemagick && \
      if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
        cd /tmp && \
        if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
          git clone https://github.com/Imagick/imagick; \
  