diff --git a/Dockerfile b/Dockerfile index 2750634..beab41c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.19 +FROM alpine:3.20 MAINTAINER Matthew Horwood # Install required deb packages @@ -9,7 +9,9 @@ RUN apk update && \ php82-ctype php82-dom php82-session php82-mbstring curl \ && mkdir -p /var/www/html/ \ && mkdir -p /run/nginx \ - && rm -f /var/cache/apk/*; + && rm -f /var/cache/apk/*; \ + [ -f /usr/bin/php ] && rm -f /usr/bin/php; \ + ln -s /usr/bin/php82 /usr/bin/php; \ # Calculate download URL ENV VERSION 5.2.1