We need to add git to the build for custom composer packages
This commit is contained in:
parent
6a41536d57
commit
ac02f37c67
@ -12,7 +12,9 @@ RUN mkdir -p ${COMPOSER_HOME} && \
|
|||||||
([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true && \
|
([ -r auth.json ] && mv auth.json ${COMPOSER_HOME}) || true && \
|
||||||
touch .composer.refresh && \
|
touch .composer.refresh && \
|
||||||
mv .env.example .env && \
|
mv .env.example .env && \
|
||||||
|
apk add --no-cache git && \
|
||||||
FORCE_PERMS=1 NGINX_START=FALSE /sbin/init && \
|
FORCE_PERMS=1 NGINX_START=FALSE /sbin/init && \
|
||||||
|
apk del --no-cache git && \
|
||||||
chmod +x /var/www/html/artisan /var/www/html/init-php.sh && \
|
chmod +x /var/www/html/artisan /var/www/html/init-php.sh && \
|
||||||
touch .migrate && \
|
touch .migrate && \
|
||||||
rm -rf ${COMPOSER_HOME}/*
|
rm -rf ${COMPOSER_HOME}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user