Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- FROM bingen/amd64-nginx
-
- # Add PHP 7.4 repo
- RUN apt-get update && \
- apt-get install -y apt-transport-https lsb-release ca-certificates wget && \
- wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \
- sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
- # update and install php
- RUN apt-get update && \
- apt-get install -y --allow-unauthenticated \
- php7.4 php7.4-fpm php-pear php7.4-common \
- php7.4-mysql php7.4-cli php7.4-gd php7.4-curl php7.4-apcu php7.4-opcache \
- php7.4-mbstring php7.4-ldap php7.4-zip php7.4-intl php7.4-imagick \
- php7.4-bcmath php7.4-xml && \
- apt-get clean
-
- # overwrite the default-configuration with our own settings - enabling PHP
- COPY default /etc/nginx/sites-available/default
-
- CMD service php7.4-fpm start && nginx
|