Explorar o código

Add missing PHP ext to Docker setup

Bubka %!s(int64=3) %!d(string=hai) anos
pai
achega
54fcfce351
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Dockerfile

+ 3 - 0
Dockerfile

@@ -17,6 +17,9 @@ ARG UID=1000
 ARG GID=1000
 COPY --from=build-composer --chown=${UID}:${GID} /usr/bin/composer /usr/bin/composer
 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
 COPY artisan composer.json ./
 COPY database ./database