anchor.diff:      unzip \
       apache2 \
       memcached \
  -    libapache2-mod-php7.2 \
  -    php7.2 \
  +    libapache2-mod-php7.4 \
  +    php7.4 \
       mysql-client
   
   # install php7 extensions
   RUN apt-get update && apt-get -y install \
  -    php7.2-mysql \
  -    php7.2-pgsql \
  -    php7.2-sqlite3 \
  -    php7.2-simplexml \
  -    php7.2-dom \
  -    php7.2-bcmath \
  -    php7.2-curl \
  -    php7.2-zip \
  -    php7.2-mbstring \
  -    php7.2-intl \
  -    php7.2-xml \
  -    php7.2-curl \
  -    php7.2-gd \
  -    php7.2-soap \
  +    php7.4-mysql \
  +    php7.4-pgsql \
  +    php7.4-sqlite3 \
  +    php7.4-simplexml \
  +    php7.4-dom \
  +    php7.4-bcmath \
  +    php7.4-curl \
  +    php7.4-zip \
  +    php7.4-mbstring \
  +    php7.4-intl \
  +    php7.4-xml \
  +    php7.4-curl \
  +    php7.4-gd \
  +    php7.4-soap \
       php-memcached \
       php-mongodb
   
  
positive.code: RUN chmod a+rwx /run/apache2/
  
  # php config
  COPY ./etc/php/99-custom.ini /etc/php/7.2/apache2/conf.d/99-custom.ini
  COPY ./etc/php/99-custom.ini /etc/php/7.2/cli/conf.d/99-custom.ini
  
  # install additional connectors
  RUN cd /var/www/html/fusio && \
      /usr/bin/composer require fusio/adapter-amqp ^3.0 && \
      /usr/bin/composer require fusio/adapter-beanstalk ^3.0 && \
      /usr/bin/composer require fusio/adapter-elasticsearch ^3.0 && \
      /usr/bin/composer require fusio/adapter-memcache ^3.0 && \
      /usr/bin/composer require fusio/adapter-mongodb ^3.0 && \
      /usr/bin/composer require fusio/adapter-redis ^3.0 && \
      /usr/bin/composer require fusio/adapter-smtp ^3.0 && \
      /usr/bin/composer require fusio/adapter-soap ^3.0
  
  # apache config
  RUN a2enmod rewrite
  
negative.code: FROM ubuntu:20.04
  MAINTAINER Christoph Kappestein <christoph.kappestein@apioo.de>
  LABEL version="1.0"
  LABEL description="Fusio API management"
  