diff --git a/Dockerfile b/Dockerfile index 70151f0..b4f2356 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM php:8-alpine +FROM php:8.3.13-alpine3.19 -ARG RUNNER_UID=1001 +# ARG RUNNER_UID=1001 LABEL maintainer="marji@morpht.com" LABEL org.opencontainers.image.source="https://github.com/morpht/ci-php" -ENV COMPOSER_VERSION=2.7.1 \ - COMPOSER_HASH_SHA256=1ffd0be3f27e237b1ae47f9e8f29f96ac7f50a0bd9eef4f88cdbe94dd04bfff0 +ENV COMPOSER_VERSION=2.7.7 \ + COMPOSER_HASH_SHA256=aab940cd53d285a54c50465820a2080fcb7182a4ba1e5f795abfb10414a4b4be RUN apk add --no-cache --update git \ bash \ @@ -22,6 +22,6 @@ RUN apk add --no-cache --update git \ && echo "$COMPOSER_HASH_SHA256 /usr/local/bin/composer" | sha256sum -c \ && chmod +x /usr/local/bin/composer -RUN adduser -D -h /home/runner -u $RUNNER_UID runner +# RUN adduser -D -h /home/runner -u $RUNNER_UID runner -USER runner +# USER runner diff --git a/README.md b/README.md index 83205f1..89a65a8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ci-php -Docker image based on the official dockerhub image php:8-alpine +Docker image based on the official dockerhub image php:8.3.x-alpine3.19 A few modifications: