Open glensc opened 4 years ago
I will do more contributions on this forked repository since the original repository has been inactive for the period of the time :).
I don't need this myself anymore, as I found I can use pretty recent PHP versions from alpine own repositories:
FROM alpine:3.9 AS php-7.2
RUN apk add php7
FROM alpine:3.12 AS php-7.3
RUN apk add php7
FROM alpine:edge AS php-7.4
RUN apk add php7
FROM alpine:edge AS php-8.0
RUN apk add php8
RUN ln -s php8 /usr/bin/php
And since I do not require multiple PHP versions in the same images, this is pretty satisfactory for me.
Never mind. I will use this approach you mention :).