Add missing PHP ext to Docker setup

This commit is contained in:
Bubka 2022-05-09 23:50:36 +02:00
parent 9ddee2c539
commit 54fcfce351

View File

@ -17,6 +17,9 @@ ARG UID=1000
ARG GID=1000 ARG GID=1000
COPY --from=build-composer --chown=${UID}:${GID} /usr/bin/composer /usr/bin/composer COPY --from=build-composer --chown=${UID}:${GID} /usr/bin/composer /usr/bin/composer
RUN apk add --no-cache unzip RUN apk add --no-cache unzip
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions && \
install-php-extensions gd bcmath
WORKDIR /srv WORKDIR /srv
COPY artisan composer.json ./ COPY artisan composer.json ./
COPY database ./database COPY database ./database