Releases: codecasts/php-alpine
PHP 8.0.1 for Alpine v3.12 and v3.11
Alpine v3.12:
FROM alpine:3.12
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.12/php-8.0" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php8 \
php8-bz2 \
php8-mysql \
php8-any-other-available-package...
Alpine v3.11:
FROM alpine:3.11
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.11/php-8.0" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php8 \
php8-bz2 \
php8-mysql \
php8-any-other-available-package...
PHP 7.4.14 for Alpine v3.12 | v3.11 | v3.10
Alpine v3.12:
FROM alpine:3.12
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.12/php-7.4" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
Alpine v3.11:
FROM alpine:3.11
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.11/php-7.4" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
Alpine v3.10:
FROM alpine:3.10
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.10/php-7.4" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
PHP 7.3.26 for Alpine v3.11 and v3.10
Alpine v3.11:
FROM alpine:3.11
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.11/php-7.3" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
Alpine v3.10:
FROM alpine:3.10
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.10/php-7.3" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
PHP 8.0.0 for Alpine v3.12
Information:
Repository URL |
---|
https://dl.bintray.com/php-alpine/v3.12/php-8.0 |
Alpine Version | PHP Version | PHP Release |
---|---|---|
3.12 | 8.0 | 8.0.0 |
Example Dockerfile:
FROM alpine:3.12
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.12/php-8.0" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php8 \
php8-bz2 \
php8-mysql \
php8-any-other-available-package...
PHP 8.0.0 for Alpine v3.11
Information:
Repository URL |
---|
https://dl.bintray.com/php-alpine/v3.11/php-8.0 |
Alpine Version | PHP Version | PHP Release |
---|---|---|
3.11 | 8.0 | 8.0.0 |
Example Dockerfile:
FROM alpine:3.11
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.11/php-8.0" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php8 \
php8-bz2 \
php8-mysql \
php8-any-other-available-package...
PHP 7.4.13 for Alpine v3.12 | v3.11 | v3.10
Alpine v3.12:
FROM alpine:3.12
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.12/php-7.4" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
Alpine v3.11:
FROM alpine:3.11
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.11/php-7.4" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
Alpine v3.10:
FROM alpine:3.10
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.10/php-7.4" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
PHP 7.3.25 for Alpine v3.11 and v3.10
Alpine v3.11:
FROM alpine:3.11
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.11/php-7.3" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
Alpine v3.10:
FROM alpine:3.10
ADD https://dl.bintray.com/php-alpine/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
RUN apk --update-cache add ca-certificates && \
echo "https://dl.bintray.com/php-alpine/v3.10/php-7.3" >> /etc/apk/repositories
# install php and some extensions
RUN apk add --update-cache \
php7 \
php7-bz2 \
php7-mysql \
php7-any-other-available-package...
PHP 7.2.1 on Alpine v3.7 - Including Argon2 backports
This release brings PHP 7.2.1 minor update alongside with support for the new password_hash()
function algorithm.
Argon2 was the winning hashing algorithm on the Password Hashing Competition held between 2013 and 2015 which compared and tested several hashing algorithms.
You can check more about it on the links provided on previous paragraphs.
As from this release, someone using this packages can now just run: password_hash ($somePasswordHere, PASSWORD_ARGON2I)
and it will work like a charm.
17.12.2 - Fixes on PHP version constraints
This release is a fix intended to fix versions on the minor PHP version.
So dependencies will only be satisfied by packages within the same minor version range.
i.e. php7-session version 7.1.9 depends on php7-common >= 7.1.0 but php-common < 7.2.0
17.12.1 - Fixes on PHP extension loading files.
Since PHP 7.2, there is no more need to include .so or .dll extension on extension file names.
The 7.2 scripts were updated to reflect this.