Merge pull request #42 from erseco/upstream-upgrade-alpine

Upgraded Alpine to 3.12
This commit is contained in:
Tim de Pater 2020-06-18 17:34:46 +02:00 committed by GitHub
commit 58eddb0f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
FROM alpine:3.11 FROM alpine:3.12
LABEL Maintainer="Tim de Pater <code@trafex.nl>" \ 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 # 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 \ RUN apk --no-cache add php7 php7-fpm php7-opcache php7-mysqli php7-json php7-openssl php7-curl \

View File

@ -1,5 +1,5 @@
# Docker PHP-FPM 7.3 & Nginx 1.16 on Alpine Linux # Docker PHP-FPM 7.3 & Nginx 1.18 on Alpine Linux
Example PHP-FPM 7.3 & Nginx 1.16 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/). 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. The image is only +/- 35MB large.
Repository: https://github.com/TrafeX/docker-php-nginx 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 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) [![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) ![php 7.3](https://img.shields.io/badge/php-7.3-brightgreen.svg)
![License MIT](https://img.shields.io/badge/license-MIT-blue.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 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 ## Adding composer

View File

@ -3,7 +3,7 @@ services:
app: app:
build: . build: .
sut: sut:
image: alpine:3.10 image: alpine:3.12
depends_on: depends_on:
- app - app
command: /tmp/run_tests.sh command: /tmp/run_tests.sh