Skip to content
Snippets Groups Projects
Select Git revision
  • 80c6710afcc3aecc5ad64c18379582c6f753e0b6
  • master default protected
  • Legacy_Php7
3 results

Dockerfile

Blame
  • Dockerfile 433 B
    #
    # GENERATED BY init.sh - template: ./templates/web-server-Dockerfile - 42dce773c83597a7d05af398bdd66d15
    #
    FROM php:8.1-apache
    
    # install packages
    RUN apt-get update && apt-get install -y git unzip zip rsync
    
    # enable apache modules
    RUN a2enmod rewrite
    
    # install php packages
    COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
    RUN install-php-extensions curl mbstring ldap intl xml sockets