Added required dependencies for alpine
Build and Push Ubuntu Image / Build and push image (push) Successful in 2m0s Details
Build and Push alpine Image / Build and push image (push) Successful in 10m33s Details

This commit is contained in:
Aditya Prima 2024-03-24 00:42:04 +07:00
parent a30156fa00
commit 390657b926
1 changed files with 8 additions and 0 deletions

View File

@ -37,6 +37,14 @@ RUN --mount=type=cache,target=/var/cache/apk \
RUN --mount=type=cache,target=/var/cache/apk \
apk add --update php${PHP_VERSION}-json@testing; exit 0
# Install php83-iconv
RUN --mount=type=cache,target=/var/cache/apk \
apk add --update php${PHP_VERSION}-iconv; exit 0
# Install php83-iconv from testing if main or community doesn't exists
RUN --mount=type=cache,target=/var/cache/apk \
apk add --update php${PHP_VERSION}-iconv@testing; exit 0
# DOWNLOAD AND INSTALL COMPOSER
ADD https://getcomposer.org/installer ./composer-setup.php
RUN php composer-setup.php --version=${COMPOSER_VERSION} && mv composer.phar /usr/local/bin/composer && rm -f ./composer-setup.php