Upgraded to Alpine Linux 3.14

This commit is contained in:
Tim de Pater 2021-07-04 20:39:22 +02:00
parent 2102c58220
commit a58dccfd64
No known key found for this signature in database
GPG Key ID: BFE5D809439C9723
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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)