Skip to content

Commit

Permalink
updated PHP to 7.4.18
Browse files Browse the repository at this point in the history
  • Loading branch information
zxpower committed May 2, 2021
1 parent 01e5b82 commit 2268bd0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.12
FROM alpine:3.13

# dependencies required for running "phpize"
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
Expand Down Expand Up @@ -30,9 +30,6 @@ RUN apk add --no-cache \
RUN set -eux; \
adduser -u 82 -D -h /DATA -S -G www-data www-data -s /bin/bash
# 82 is the standard uid/gid for "www-data" in Alpine
# https://git.alpinelinux.org/aports/tree/main/apache2/apache2.pre-install?h=3.9-stable
# https://git.alpinelinux.org/aports/tree/main/lighttpd/lighttpd.pre-install?h=3.9-stable
# https://git.alpinelinux.org/aports/tree/main/nginx/nginx.pre-install?h=3.9-stable

ENV PHP_INI_DIR /usr/local/etc/php
RUN set -eux; \
Expand All @@ -57,9 +54,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"

ENV GPG_KEYS 42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312

ENV PHP_VERSION 7.4.12
ENV PHP_URL="https://www.php.net/distributions/php-7.4.12.tar.xz" PHP_ASC_URL="https://www.php.net/distributions/php-7.4.12.tar.xz.asc"
ENV PHP_SHA256="e82d2bcead05255f6b7d2ff4e2561bc334204955820cabc2457b5239fde96b76"
ENV PHP_VERSION 7.4.18
ENV PHP_URL="https://www.php.net/distributions/php-7.4.18.tar.xz" PHP_ASC_URL="https://www.php.net/distributions/php-7.4.18.tar.xz.asc"
ENV PHP_SHA256="ab97f22b128d21dcbc009b50a37aaea0051b2721cbcd122d9e00e6ffc3c4b7e1"

RUN set -eux; \
\
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Maintained by [digiBlink](https://digiblink.eu) - [docker hub link](https://hub.

Container with:

* Alpine Linux 3.12
* nginx 1.18.0-r1
* PHP-FPM 7.4.12 (all necessary extensions to be ready for Wordpress deployment)
* WP-CLI
* Alpine Linux 3.13
* nginx 1.18.0-r13
* PHP-FPM 7.4.18 (all necessary extensions to be ready for Wordpress deployment)
* WP-CLI 2.4.0
* git, bash

## Usage
Expand Down

0 comments on commit 2268bd0

Please sign in to comment.