mirror of
https://github.com/mashirozx/docker-php-nginx.git
synced 2024-11-21 22:38:14 +08:00
Upgraded to Alpine Linux 3.14
This commit is contained in:
parent
2102c58220
commit
a58dccfd64
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.13
|
FROM alpine:3.14
|
||||||
LABEL Maintainer="Tim de Pater <code@trafex.nl>"
|
LABEL Maintainer="Tim de Pater <code@trafex.nl>"
|
||||||
LABEL Description="Lightweight container with Nginx 1.18 & PHP 8.0 based on Alpine Linux."
|
LABEL Description="Lightweight container with Nginx 1.20 & PHP 8.0 based on Alpine Linux."
|
||||||
|
|
||||||
# Install packages and remove default server definition
|
# Install packages and remove default server definition
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
@ -23,8 +23,7 @@ RUN apk --no-cache add \
|
|||||||
php8-xml \
|
php8-xml \
|
||||||
php8-xmlreader \
|
php8-xmlreader \
|
||||||
php8-zlib \
|
php8-zlib \
|
||||||
supervisor \
|
supervisor
|
||||||
&& rm /etc/nginx/conf.d/default.conf
|
|
||||||
|
|
||||||
# Create symlink so programs depending on `php` still function
|
# Create symlink so programs depending on `php` still function
|
||||||
RUN ln -s /usr/bin/php8 /usr/bin/php
|
RUN ln -s /usr/bin/php8 /usr/bin/php
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Docker PHP-FPM 8.0 & Nginx 1.18 on Alpine Linux
|
# Docker PHP-FPM 8.0 & Nginx 1.20 on Alpine Linux
|
||||||
Example PHP-FPM 8.0 & Nginx 1.18 setup for Docker, build on [Alpine Linux](https://www.alpinelinux.org/).
|
Example PHP-FPM 8.0 & Nginx 1.20 setup for Docker, build on [Alpine Linux](https://www.alpinelinux.org/).
|
||||||
The image is only +/- 40MB large.
|
The image is only +/- 40MB large.
|
||||||
|
|
||||||
Repository: https://github.com/TrafeX/docker-php-nginx
|
Repository: https://github.com/TrafeX/docker-php-nginx
|
||||||
@ -16,7 +16,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx
|
|||||||
|
|
||||||
|
|
||||||
[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/php-nginx.svg)](https://hub.docker.com/r/trafex/php-nginx/)
|
[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/php-nginx.svg)](https://hub.docker.com/r/trafex/php-nginx/)
|
||||||
![nginx 1.18.0](https://img.shields.io/badge/nginx-1.18-brightgreen.svg)
|
![nginx 1.18.0](https://img.shields.io/badge/nginx-1.20-brightgreen.svg)
|
||||||
![php 8.0](https://img.shields.io/badge/php-8.0-brightgreen.svg)
|
![php 8.0](https://img.shields.io/badge/php-8.0-brightgreen.svg)
|
||||||
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)
|
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user