From bfb0e24407688a7455d76857517d0581cab5e05c Mon Sep 17 00:00:00 2001 From: Sebastian Feldmann Date: Fri, 10 Jan 2025 17:01:38 +0100 Subject: [PATCH] Install git within the container --- .docker/php8.0/Dockerfile | 4 +--- .docker/php8.1/Dockerfile | 4 +--- .docker/php8.2/Dockerfile | 4 +--- .docker/php8.3/Dockerfile | 4 +--- .docker/php8.4/Dockerfile | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.docker/php8.0/Dockerfile b/.docker/php8.0/Dockerfile index f47b8d62..084b2ca7 100644 --- a/.docker/php8.0/Dockerfile +++ b/.docker/php8.0/Dockerfile @@ -3,9 +3,7 @@ FROM php:8.0-alpine COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/ RUN install-php-extensions zip -RUN apk add ncurses \ - && apk add gnupg \ - && apk add bash +RUN apk add ncurses gnupg bash git COPY --from=composer/composer:2-bin /composer /usr/bin/composer ENV COMPOSER_ALLOW_SUPERUSER 1 diff --git a/.docker/php8.1/Dockerfile b/.docker/php8.1/Dockerfile index b13a7481..9a23ad00 100644 --- a/.docker/php8.1/Dockerfile +++ b/.docker/php8.1/Dockerfile @@ -3,9 +3,7 @@ FROM php:8.1-alpine COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/ RUN install-php-extensions zip -RUN apk add ncurses \ - && apk add gnupg \ - && apk add bash +RUN apk add ncurses gnupg bash git COPY --from=composer/composer:2-bin /composer /usr/bin/composer ENV COMPOSER_ALLOW_SUPERUSER 1 diff --git a/.docker/php8.2/Dockerfile b/.docker/php8.2/Dockerfile index 0d8e7173..e64aad94 100644 --- a/.docker/php8.2/Dockerfile +++ b/.docker/php8.2/Dockerfile @@ -3,9 +3,7 @@ FROM php:8.2-alpine COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/ RUN install-php-extensions zip -RUN apk add ncurses \ - && apk add gnupg \ - && apk add bash +RUN apk add ncurses gnupg bash git COPY --from=composer/composer:2-bin /composer /usr/bin/composer ENV COMPOSER_ALLOW_SUPERUSER 1 diff --git a/.docker/php8.3/Dockerfile b/.docker/php8.3/Dockerfile index 0006b738..4a50b26e 100644 --- a/.docker/php8.3/Dockerfile +++ b/.docker/php8.3/Dockerfile @@ -3,9 +3,7 @@ FROM php:8.3-alpine COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/ RUN install-php-extensions zip -RUN apk add ncurses \ - && apk add gnupg \ - && apk add bash +RUN apk add ncurses gnupg bash git COPY --from=composer/composer:2-bin /composer /usr/bin/composer ENV COMPOSER_ALLOW_SUPERUSER 1 diff --git a/.docker/php8.4/Dockerfile b/.docker/php8.4/Dockerfile index fa22acc0..183662d6 100644 --- a/.docker/php8.4/Dockerfile +++ b/.docker/php8.4/Dockerfile @@ -3,9 +3,7 @@ FROM php:8.4-alpine COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/ RUN install-php-extensions zip -RUN apk add ncurses \ - && apk add gnupg \ - && apk add bash +RUN apk add ncurses gnupg bash git COPY --from=composer/composer:2-bin /composer /usr/bin/composer ENV COMPOSER_ALLOW_SUPERUSER 1