do not purge php81-mbstring, if it is selected in the ALPINE_PACKAGES
This commit is contained in:
parent
ff87f9bba5
commit
7a8d0cdc04
1 changed files with 4 additions and 1 deletions
|
@ -22,10 +22,13 @@ RUN \
|
|||
ALPINE_PACKAGES="$(echo ${ALPINE_PACKAGES} | sed 's/,/ /g')" ;\
|
||||
ALPINE_COMPOSER_PACKAGES="" ;\
|
||||
if [ -n "${COMPOSER_PACKAGES}" ] ; then \
|
||||
ALPINE_COMPOSER_PACKAGES="php81-mbstring php81-phar" ;\
|
||||
ALPINE_COMPOSER_PACKAGES="php81-phar" ;\
|
||||
if [ -n "${ALPINE_PACKAGES##*php81-curl*}" ] ; then \
|
||||
ALPINE_COMPOSER_PACKAGES="php81-curl ${ALPINE_COMPOSER_PACKAGES}" ;\
|
||||
fi ;\
|
||||
if [ -n "${ALPINE_PACKAGES##*php81-mbstring*}" ] ; then \
|
||||
ALPINE_COMPOSER_PACKAGES="php81-mbstring ${ALPINE_COMPOSER_PACKAGES}" ;\
|
||||
fi ;\
|
||||
RAWURL="$(echo ${PBURL} | sed s/github.com/raw.githubusercontent.com/)" ;\
|
||||
fi \
|
||||
# Install dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue