Added missing iconv and mbstring for composer to run

This commit is contained in:
Muhamad Aditya Prima 2024-12-27 01:58:28 +07:00
parent f83c5460f2
commit 57efb4a31b
3 changed files with 6 additions and 4 deletions

View File

@ -29,7 +29,8 @@ ADD https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/c
RUN /bin/mkdir -p /app ; \
/sbin/apk add --update --no-cache \
php${PHP_VER_SHORT} php${PHP_VER_SHORT}-common \
php${PHP_VER_SHORT}-cli php${PHP_VER_SHORT}-phar ; \
php${PHP_VER_SHORT}-cli php${PHP_VER_SHORT}-phar \
php${PHP_VER_SHORT}-iconv php${PHP_VER_SHORT}-mbstring ; \
/bin/chmod +x /tmp/setup.sh /usr/local/bin/composer ; \
/bin/sh /tmp/setup.sh; \
/bin/rm -f /tmp/*.sh;

View File

@ -31,7 +31,8 @@ ADD https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/c
RUN /bin/mkdir -p /app ; \
/sbin/apk add --update --no-cache \
php${PHP_VER_SHORT} php${PHP_VER_SHORT}-common \
php${PHP_VER_SHORT}-cli php${PHP_VER_SHORT}-phar ; \
php${PHP_VER_SHORT}-cli php${PHP_VER_SHORT}-phar \
php${PHP_VER_SHORT}-iconv php${PHP_VER_SHORT}-mbstring ; \
/bin/chmod +x /tmp/setup.sh /usr/local/bin/entrypoint.sh /usr/local/bin/composer; \
/bin/sh /tmp/setup.sh; \
/bin/rm -f /tmp/*.sh;

View File

@ -3,8 +3,8 @@
PHP_LIST="bcmath,brotli,bz2,calendar,cgi,
ctype,curl,dba,dom,embed,
enchant,exif,fileinfo,ftp,gd,
gettext,gmp,iconv,imap,intl,
json,ldap,mbstring,opcache,openssl,
gettext,gmp,imap,intl,
json,ldap,opcache,openssl,
pcntl,pdo,pear,posix,
pspell,shmop,snmp,soap,sockets,
sysvmsg,sysvsem,sysvshm,tidy,tokenizer,