Skip to content

Commit

Permalink
Install git within the container
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Jan 10, 2025
1 parent df5e619 commit bfb0e24
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 1 addition & 3 deletions .docker/php8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions .docker/php8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions .docker/php8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions .docker/php8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions .docker/php8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfb0e24

Please sign in to comment.