Skip to content

Commit

Permalink
Add git and patch
Browse files Browse the repository at this point in the history
This are required to use composer patch
  • Loading branch information
madalinignisca committed Apr 28, 2023
1 parent 6088bc4 commit ddf9138
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG PHP_VERSION=8.1
ARG ALPINE=

FROM php:${PHP_VERSION}-fpm${ALPINE}
FROM php:${PHP_VERSION}-fpm-alpine

ARG PHP_VERSION=8.1
ARG COMPOSER_VERSION=2

ARG USERNAME=php
Expand Down Expand Up @@ -114,6 +114,8 @@ RUN if [ "$PHP_VERSION" = "7.4" ] ; \

RUN install-php-extensions @composer-$COMPOSER_VERSION

RUN apk add --no-cache git patch

COPY php.ini /usr/local/etc/php/php.ini
COPY php-fpm.conf /usr/local/etc/php-fpm.conf

Expand Down

0 comments on commit ddf9138

Please sign in to comment.