Skip to content

Commit e38d6d2

Browse files
committed
wip
1 parent bd9435f commit e38d6d2

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

docker/Dockerfile

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,20 @@ WORKDIR /var/www/html
44

55
ENV 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
2421
COPY docker/php.ini /etc/php/8.2/cli/conf.d/99-vito.ini
2522

2623
# composer

0 commit comments

Comments
 (0)