-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ FROM alpine:3.19 | |
MAINTAINER Matthew Horwood <[email protected]> | ||
|
||
RUN apk update \ | ||
&& apk add nginx php81-fpm php81-session \ | ||
php81-gd php81-mbstring php81-mysqli php81-openssl \ | ||
php81-xml php81-dom php81-intl php81-bcmath composer curl \ | ||
&& apk add nginx php82-fpm php82-session \ | ||
php82-gd php82-mbstring php82-mysqli php82-openssl \ | ||
php82-xml php82-dom php82-intl php82-bcmath composer curl \ | ||
&& rm -f /var/cache/apk/* \ | ||
&& mkdir -p /var/www/html/ \ | ||
&& mkdir -p /run/nginx; \ | ||
|
@@ -29,8 +29,8 @@ RUN cd /tmp && \ | |
unzip /tmp/${IP_VERSION}.zip && \ | ||
cp -r ip/* /var/www/html/ && \ | ||
chmod +x /config/start.sh; \ | ||
cp /config/php.ini /etc/php81/php.ini && \ | ||
cp /config/php_fpm_site.conf /etc/php81/php-fpm.d/www.conf; \ | ||
cp /config/php.ini /etc/php82/php.ini && \ | ||
cp /config/php_fpm_site.conf /etc/php82/php-fpm.d/www.conf; \ | ||
cp /config/nginx_site.conf /etc/nginx/http.d/default.conf; \ | ||
chown nobody:nginx /var/www/html/* -R; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ FROM alpine:3.17 | |
MAINTAINER Matthew Horwood <[email protected]> | ||
|
||
RUN apk update \ | ||
&& apk add nginx php81-fpm \ | ||
php81-gd php81-mbstring php81-mysqli php81-openssl \ | ||
php81-xml php81-intl php81-bcmath composer curl \ | ||
&& apk add nginx php82-fpm \ | ||
php82-gd php82-mbstring php82-mysqli php82-openssl \ | ||
php82-xml php82-intl php82-bcmath composer curl \ | ||
&& rm -f /var/cache/apk/* \ | ||
&& mkdir -p /var/www/html/ \ | ||
&& mkdir -p /run/nginx; \ | ||
|