diff --git a/Dockerfile b/Dockerfile index 72e95f7..e7f2f6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM alpine:3.11 +FROM alpine:3.12 LABEL Maintainer="Tim de Pater " \ - 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 \ diff --git a/README.md b/README.md index aa8bd05..245fd0d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 96fbb73..7793511 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -3,7 +3,7 @@ services: app: build: . sut: - image: alpine:3.10 + image: alpine:3.12 depends_on: - app command: /tmp/run_tests.sh