mirror of
https://github.com/mashirozx/docker-php-nginx.git
synced 2024-11-22 14:58:15 +08:00
Merge pull request #42 from erseco/upstream-upgrade-alpine
Upgraded Alpine to 3.12
This commit is contained in:
commit
58eddb0f7f
@ -1,6 +1,6 @@
|
||||
FROM alpine:3.11
|
||||
FROM alpine:3.12
|
||||
LABEL Maintainer="Tim de Pater <code@trafex.nl>" \
|
||||
Description="Lightweight container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux."
|
||||
Description="Lightweight container with Nginx 1.18 & PHP-FPM 7.3 based on Alpine Linux."
|
||||
|
||||
# Install packages and remove default server definition
|
||||
RUN apk --no-cache add php7 php7-fpm php7-opcache php7-mysqli php7-json php7-openssl php7-curl \
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Docker PHP-FPM 7.3 & Nginx 1.16 on Alpine Linux
|
||||
Example PHP-FPM 7.3 & Nginx 1.16 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/).
|
||||
# Docker PHP-FPM 7.3 & Nginx 1.18 on Alpine Linux
|
||||
Example PHP-FPM 7.3 & Nginx 1.18 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/).
|
||||
The image is only +/- 35MB large.
|
||||
|
||||
Repository: https://github.com/TrafeX/docker-php-nginx
|
||||
@ -17,7 +17,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx
|
||||
|
||||
[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/alpine-nginx-php7.svg)](https://hub.docker.com/r/trafex/alpine-nginx-php7/)
|
||||
[![Docker image layers](https://images.microbadger.com/badges/image/trafex/alpine-nginx-php7.svg)](https://microbadger.com/images/trafex/alpine-nginx-php7)
|
||||
![nginx 1.16.1](https://img.shields.io/badge/nginx-1.16-brightgreen.svg)
|
||||
![nginx 1.18.0](https://img.shields.io/badge/nginx-1.18-brightgreen.svg)
|
||||
![php 7.3](https://img.shields.io/badge/php-7.3-brightgreen.svg)
|
||||
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)
|
||||
|
||||
@ -57,7 +57,7 @@ PHP-FPM configuration:
|
||||
|
||||
docker run -v "`pwd`/php-fpm-settings.conf:/etc/php7/php-fpm.d/server.conf" trafex/alpine-nginx-php7
|
||||
|
||||
_Note; Because `-v` requires an absolute path I've added `pwd` in the example to return the absolute path to the current directory_
|
||||
_Note; Because `-v` requires an absolute path I've added `pwd` in the example to return the absolute path to the current directory_
|
||||
|
||||
|
||||
## Adding composer
|
||||
|
@ -3,7 +3,7 @@ services:
|
||||
app:
|
||||
build: .
|
||||
sut:
|
||||
image: alpine:3.10
|
||||
image: alpine:3.12
|
||||
depends_on:
|
||||
- app
|
||||
command: /tmp/run_tests.sh
|
||||
|
Loading…
Reference in New Issue
Block a user