docker-composer/php8.4/Dockerfile
renovate-bot bd37d3e040
All checks were successful
Test / lint (pull_request) Successful in 4s
Test / php8_1 (pull_request) Successful in 31s
Test / php8_2 (pull_request) Successful in 32s
Test / php8_3 (pull_request) Successful in 32s
Test / php8_4 (pull_request) Successful in 33s
Build and publish / lint (push) Successful in 3s
Build and publish / php8_1 (push) Successful in 47s
Build and publish / php8_2 (push) Successful in 53s
Build and publish / php8_3 (push) Successful in 48s
Build and publish / php8_4 (push) Successful in 50s
Update php:8.3.17-cli-bookworm Docker digest to eab462d
2025-02-14 09:06:51 +00:00

32 lines
1.1 KiB
Docker

FROM php:8.3.17-cli-bookworm@sha256:eab462d7f27abe3ff747cde88ab2069afbd401480d13ee660ee433ae33728bdd
SHELL [ "/bin/bash", "-exo", "pipefail", "-c" ]
# renovate: datasource=github-tags depName=composer/composer versioning=semver
ENV COMPOSER_VERSION 2.8.5
ENV COMPOSER_INSTALLER_COMMIT 459bcaab2cc03f1656dd7b065d500d0cf3070e3f
ENV COMPOSER_INSTALLER_HASH 756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3
RUN apt-get update; \
apt-get install -y --no-install-recommends \
git \
unzip \
zip \
; \
curl -o /tmp/composer-installer.php \
https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_INSTALLER_COMMIT}/web/installer; \
\
echo "${COMPOSER_INSTALLER_HASH} /tmp/composer-installer.php" | sha384sum -c -; \
\
php /tmp/composer-installer.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION}; \
\
composer diagnose; \
rm -f /tmp/composer-installer.php; \
\
rm -rf /var/lib/apt/lists/*;
WORKDIR /tmp
USER nobody
CMD [ "composer" ]