Skip to content

Commit

Permalink
do not purge php81-mbstring, if it is selected in the ALPINE_PACKAGES
Browse files Browse the repository at this point in the history
  • Loading branch information
elrido committed Jan 17, 2023
1 parent ff87f9b commit 7a8d0cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a8d0cd

Please sign in to comment.