Skip to content

Commit f67cc57

Browse files
committed
Upgraded Alpine Linux to 3.13
1 parent a866db2 commit f67cc57

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM alpine:3.12
1+
FROM alpine:3.13
22
LABEL Maintainer="Tim de Pater <[email protected]>" \
3-
Description="Lightweight container with Nginx 1.18 & PHP-FPM 7.3 based on Alpine Linux."
3+
Description="Lightweight container with Nginx 1.18 & PHP 7.4 based on Alpine Linux."
44

55
# Install packages and remove default server definition
66
RUN apk --no-cache add php7 php7-fpm php7-opcache php7-mysqli php7-json php7-openssl php7-curl \

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Docker PHP-FPM 7.3 & Nginx 1.18 on Alpine Linux
2-
Example PHP-FPM 7.3 & Nginx 1.18 setup for Docker, build on [Alpine Linux](https://www.alpinelinux.org/).
1+
# Docker PHP-FPM 7.4 & Nginx 1.18 on Alpine Linux
2+
Example PHP-FPM 7.4 & Nginx 1.18 setup for Docker, build on [Alpine Linux](https://www.alpinelinux.org/).
33
The image is only +/- 35MB large.
44

55
Repository: https://github.com/TrafeX/docker-php-nginx
66

77

88
* Built on the lightweight and secure Alpine Linux distribution
99
* Very small Docker image size (+/-35MB)
10-
* Uses PHP 7.3 for better performance, lower CPU usage & memory footprint
10+
* Uses PHP 7.4 for better performance, lower CPU usage & memory footprint
1111
* Optimized for 100 concurrent users
1212
* Optimized to only use resources when there's traffic (by using PHP-FPM's on-demand PM)
1313
* The servers Nginx, PHP-FPM and supervisord run under a non-privileged user (nobody) to make it more secure
@@ -18,7 +18,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx
1818
[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/alpine-nginx-php7.svg)](https://hub.docker.com/r/trafex/alpine-nginx-php7/)
1919
[![Docker image layers](https://images.microbadger.com/badges/image/trafex/alpine-nginx-php7.svg)](https://microbadger.com/images/trafex/alpine-nginx-php7)
2020
![nginx 1.18.0](https://img.shields.io/badge/nginx-1.18-brightgreen.svg)
21-
![php 7.3](https://img.shields.io/badge/php-7.3-brightgreen.svg)
21+
![php 7.4](https://img.shields.io/badge/php-7.4-brightgreen.svg)
2222
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)
2323

2424
### Breaking changes (26/01/2019)

run_tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env sh
22
apk --no-cache add curl
3-
curl --silent --fail http://app:8080 | grep 'PHP 7.3'
3+
curl --silent --fail http://app:8080 | grep 'PHP 7.4'

0 commit comments

Comments
 (0)