Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

18 Zeilen
779B

  1. FROM bingen/amd64-nginx
  2. # Add PHP 7.4 repo
  3. RUN apt-get update && \
  4. apt-get install -y apt-transport-https lsb-release ca-certificates wget && \
  5. wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \
  6. sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
  7. # update and install php
  8. RUN apt-get update && \
  9. apt-get install -y php7.4 php7.4-fpm php-pear php7.4-common \
  10. php7.4-mysql php7.4-cli php7.4-gd php7.4-curl php-apcu php7.4-opcache \
  11. php7.4-mbstring php7.4-ldap php7.4-zip php7.4-intl && \
  12. apt-get clean
  13. # overwrite the default-configuration with our own settings - enabling PHP
  14. COPY default /etc/nginx/sites-available/default
  15. CMD service php7.4-fpm start && nginx