installed php composer in build_src step

This commit is contained in:
Alec Höfler 2022-05-03 10:37:00 +02:00
parent 5eef79cc3d
commit 048bd7b272
No known key found for this signature in database
GPG key ID: BE83D6C1099F2835

View file

@ -27,13 +27,16 @@ build_docker:
- Dockerfile
build_linux:
build_src:
stage: build
tags:
- docker
image: gitlab.jonasled.de/jonasled/nginx-php-minimal:7-3.10
before_script:
- apk add php7-pdo php7-pdo_mysql php7-gd
- ln -s /usr/bin/php73 /usr/bin/php
- apk add php7-pdo php7-pdo_mysql php7-gd wget
- wget -O /usr/bin/composer https://getcomposer.org/download/2.3.5/composer.phar
- chmod + /usr/bin/composer
script:
- "composer install"
artifacts: