Merge branch 'drone/enable-build-base-image'
This commit is contained in:
commit
fb3b2744d5
@ -2,11 +2,11 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build-base-image
|
||||
image_pull_secrets:
|
||||
- dockerconfig
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
cron:
|
||||
- base-image
|
||||
|
||||
|
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user