anchor.diff:  ARG INSTALL_IMAP=false
   
   RUN if [ ${INSTALL_IMAP} = true ]; then \
  -    apk add --update imap-dev openssl-dev && \
  +    apk add --update imap-dev && \
       docker-php-ext-configure imap --with-imap --with-imap-ssl && \
       docker-php-ext-install imap \
   ;fi
  
positive.code:   if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
      apk add --update --no-cache imagemagick-dev; \
      if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
        apk add --update --no-cache git && \
        cd /tmp && \
        if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
          git clone https://github.com/Imagick/imagick; \
  
negative.code:     fi && \
      docker-php-ext-enable amqp && \
      apk del -q rabbitmq-c-dev && \
      docker-php-ext-install sockets \
  ;fi
  
  