diff --git a/.drone.yml b/.drone.yml index bc23bc4..e3d6b89 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,11 +2,11 @@ kind: pipeline type: docker name: build-base-image -image_pull_secrets: - - dockerconfig + trigger: event: - cron + - push cron: - base-image diff --git a/Dockerfile b/Dockerfile index 20e0c53..6565d43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,7 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/bin/composer ENV COMPOSER_ALLOW_SUPERUSER=1 ENV COMPOSER_MEMORY_LIMIT=-1 +ENV COMPOSER_HOME=/var/www/app/.composer WORKDIR /var/www/app @@ -76,7 +77,6 @@ ENTRYPOINT ["/entrypoint.sh"] ENV PHP_FPM_USER=www-data \ PHP_FPM_GROUP=www-data \ - COMPOSER_HOME=/var/www/app/.composer \ SESSION_LIFETIME=10800 CMD [ "php-fpm" ]