php override, normalize path, php_helper
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-04-05 16:01:36 +02:00
parent 45d0eb04a0
commit 54ff499e2d
5 changed files with 1950 additions and 5 deletions

View File

@ -61,6 +61,7 @@ RUN docker-php-ext-install -j$(nproc) \
#
#==================================================
FROM php:${PHP_VERSION}
ARG ENVIRONMENT=production
# install system libs
RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libzip
@ -80,11 +81,11 @@ COPY --from=base-config /etc/supervisor /etc/supervisor
COPY --from=builder /usr/local/lib/php /usr/local/lib/php
COPY --from=builder /usr/local/etc /usr/local/etc
# Copy docker tools
COPY docker/tools /usr/local/bin/
# Copy base files to docker container
COPY docker/ /
#install composer
RUN /usr/local/bin/install_composer.sh
#PHP helper
RUN /usr/local/bin/php_helper.sh
#install cachetool
RUN wget -O /bin/cachetool http://gordalina.github.io/cachetool/downloads/cachetool.phar