Get composer from main website
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Paolo Asperti 2023-07-12 10:16:10 +02:00
parent 01fb2b0c26
commit 3579a5dc57
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 4 additions and 1 deletions

View File

@ -4,10 +4,13 @@ ARG GLPI_VERSION=10.0.8
RUN \
mkdir -p /logs /config /files /marketplace && \
apk -U upgrade && \
apk add composer curl nginx php82 php82-bz2 php82-ctype php82-curl php82-dom php82-exif \
apk add curl nginx php82 php82-bz2 php82-ctype php82-curl php82-dom php82-exif \
php82-fileinfo php82-fpm php82-gd php82-iconv php82-intl php82-ldap php82-mysqli \
php82-opcache php82-openssl php82-pecl-apcu php82-pecl-redis php82-phar php82-session \
php82-simplexml php82-sodium php82-tokenizer php82-xml php82-zip php82-xmlreader php82-xmlwriter && \
wget -O /usr/local/bin/composer https://getcomposer.org/download/2.5.8/composer.phar && \
chmod +x /usr/local/bin/composer && \
ln -s /usr/bin/php82 /usr/bin/php && \
wget -O - https://github.com/glpi-project/glpi/releases/download/${GLPI_VERSION}/glpi-${GLPI_VERSION}.tgz | tar xz -C /var/www
COPY rootfs /