diff --git a/8.4-edge.Dockerfile b/8.4-edge.Dockerfile deleted file mode 100644 index 89ec236..0000000 --- a/8.4-edge.Dockerfile +++ /dev/null @@ -1,52 +0,0 @@ -FROM alpine:3.20 - -LABEL maintainer="docker@stefan-van-essen.nl" - -ARG S6_OVERLAY_VERSION=3.2.0.2 -ARG BUILDPLATFORM - -# Install webserver packages -RUN apk -U upgrade && apk add --no-cache \ - curl \ - nginx \ - tzdata \ - && ln -s /usr/sbin/php-fpm84 /usr/sbin/php-fpm \ - && rm -rf /var/cache/apk/* /etc/nginx/http.d/* - -# Install PHP-FPM from the Alpine Edge repository -RUN apk add -U --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ php84-fpm \ - && addgroup -S php \ - && adduser -S -G php php \ - && rm -rf /etc/php84/conf.d/* /etc/php84/php-fpm.d/* - -# Install S6 overlay -RUN wget -P /tmp https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz; \ - tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz; \ - wget -P /tmp https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz; \ - tar -C / -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz; \ - wget -P /tmp https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz; \ - tar -C / -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz; \ - case "${BUILDPLATFORM}" in \ - "linux/amd64") \ - wget -P /tmp https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz; \ - tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz; \ - ;; \ - "linux/arm64") \ - wget -P /tmp https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-aarch64.tar.xz; \ - tar -C / -Jxpf /tmp/s6-overlay-aarch64.tar.xz; \ - ;; \ - *) \ - echo "Cannot build, missing valid build platform." \ - exit 1; \ - esac; \ - rm -rf /tmp/*; - -COPY files/general files/php84 / - -WORKDIR /www - -ENTRYPOINT ["/init"] - -EXPOSE 80 - -HEALTHCHECK --interval=5s --timeout=5s CMD curl -f http://127.0.0.1/php-fpm-ping || exit 1 diff --git a/README.md b/README.md index 80c38e8..cdfa6c8 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,6 @@ See the table below to see what versions are currently available: | 8.2 | Alpine Linux 3.19 | [Alpine Linux repo](https://pkgs.alpinelinux.org/packages?name=php82*&branch=v3.19&arch=x86_64) | Version 1 | | 8.3 | Alpine Linux 3.19 | [Alpine Linux repo](https://pkgs.alpinelinux.org/packages?name=php83*&branch=v3.19&arch=x86_64) | Version 3 | | 8.4 | Alpine Linux 3.21 | [Alpine Linux repo](https://pkgs.alpinelinux.org/packages?name=php84*&branch=v3.21&arch=x86_64) | Version 3 | -| 8.4-edge | Alpine Linux 3.20 | [Alpine Linux repo](https://pkgs.alpinelinux.org/packages?name=php84*&branch=edge&arch=x86_64) | Version 3 | ### Overriding or extending the configuration