File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed
Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,20 @@ WORKDIR /var/www/html
44
55ENV DEBIAN_FRONTEND noninteractive
66
7+ # Add repositories
8+ RUN add-apt-repository ppa:ondrej/php -y
9+
710# upgrade
8- RUN apt-get clean && apt-get update && apt-get upgrade -y && apt-get autoremove -y
11+ RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y
912
1013# requirements
11- RUN apt-get install -y software-properties-common curl zip unzip gcc
12-
13- # nginx
14- RUN apt-get install -y nginx
14+ RUN apt-get install -y software-properties-common curl zip unzip gcc nginx \
15+ cron gnupg gosu curl ca-certificates zip unzip supervisor libcap2-bin libpng-dev \
16+ dnsutils librsvg2-bin fswatch wget openssh-client \
17+ php8.2 php8.2-fpm php8.2-mbstring php8.2-mcrypt php8.2-gd php8.2-xml \
18+ php8.2-curl php8.2-gettext php8.2-zip php8.2-bcmath php8.2-soap php8.2-redis php8.2-sqlite3 php8.2-intl
1519
1620# php
17- RUN apt-get update \
18- && apt-get install -y cron gnupg gosu curl ca-certificates zip unzip supervisor libcap2-bin libpng-dev \
19- dnsutils librsvg2-bin fswatch wget openssh-client \
20- && add-apt-repository ppa:ondrej/php -y \
21- && apt-get update \
22- && apt-get install -y php8.2 php8.2-fpm php8.2-mbstring php8.2-mcrypt php8.2-gd php8.2-xml \
23- php8.2-curl php8.2-gettext php8.2-zip php8.2-bcmath php8.2-soap php8.2-redis php8.2-sqlite3 php8.2-intl
2421COPY docker/php.ini /etc/php/8.2/cli/conf.d/99-vito.ini
2522
2623# composer
You can’t perform that action at this time.
0 commit comments