File tree Expand file tree Collapse file tree 1 file changed +31
-27
lines changed
Expand file tree Collapse file tree 1 file changed +31
-27
lines changed Original file line number Diff line number Diff line change @@ -9,39 +9,39 @@ RUN apk --no-cache --update \
99 add apache2 \
1010 apache2-ssl \
1111 curl \
12- php82 -apache2 \
13- php82 -bcmath \
14- php82 -bz2 \
15- php82 -calendar \
16- php82 -common \
17- php82 -ctype \
18- php82 -curl \
19- php82 -dom \
20- php82 -fileinfo \
21- php82 -gd \
22- php82 -iconv \
23- php82 -json \
24- php82 -mbstring \
25- php82 -mysqli \
26- php82 -mysqlnd \
27- php82 -openssl \
28- php82 -pdo_mysql \
29- php82 -pdo_pgsql \
30- php82 -pdo_sqlite \
31- php82 -phar \
32- php82 -session \
33- php82 -xml \
34- php82 -tokenizer \
35- php82 -zip \
36- php82 -xmlwriter \
37- php82 -redis \
12+ php83 -apache2 \
13+ php83 -bcmath \
14+ php83 -bz2 \
15+ php83 -calendar \
16+ php83 -common \
17+ php83 -ctype \
18+ php83 -curl \
19+ php83 -dom \
20+ php83 -fileinfo \
21+ php83 -gd \
22+ php83 -iconv \
23+ php83 -json \
24+ php83 -mbstring \
25+ php83 -mysqli \
26+ php83 -mysqlnd \
27+ php83 -openssl \
28+ php83 -pdo_mysql \
29+ php83 -pdo_pgsql \
30+ php83 -pdo_sqlite \
31+ php83 -phar \
32+ php83 -session \
33+ php83 -xml \
34+ php83 -tokenizer \
35+ php83 -zip \
36+ php83 -xmlwriter \
37+ php83 -redis \
3838 tzdata \
3939 && mkdir /htdocs
4040
4141COPY linkstack /htdocs
4242COPY configs/apache2/httpd.conf /etc/apache2/httpd.conf
4343COPY configs/apache2/ssl.conf /etc/apache2/conf.d/ssl.conf
44- COPY configs/php/php.ini /etc/php8.2/php .ini
44+ COPY configs/php/php.ini /etc/php83/conf.d/40-custom .ini
4545
4646RUN chown apache:apache /etc/ssl/apache2/server.pem
4747RUN chown apache:apache /etc/ssl/apache2/server.key
@@ -52,6 +52,10 @@ RUN find /htdocs -type f -print0 | xargs -0 chmod 0644
5252
5353COPY --chmod=0755 docker-entrypoint.sh /usr/local/bin/
5454
55+ RUN chmod -R 755 /etc/php83 && \
56+ chown -R apache:apache /etc/php83
57+
58+
5559USER apache:apache
5660
5761HEALTHCHECK CMD curl -f http://localhost -A "HealthCheck" || exit 1
You can’t perform that action at this time.
0 commit comments