You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- FROM bingen/amd64-nginx
-
- # Add PHP 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 \
- php8.2 php8.2-fpm php-pear php8.2-common \
- php8.2-mysql php8.2-cli php8.2-gd php8.2-curl php8.2-apcu php8.2-opcache \
- php8.2-mbstring php8.2-ldap php8.2-zip php8.2-intl php8.2-imagick \
- php8.2-bcmath php8.2-xml && \
- apt-get clean
-
- # overwrite the default-configuration with our own settings - enabling PHP
- COPY default /etc/nginx/sites-available/default
-
- CMD service php8.2-fpm start && nginx
|