Commit 9cdc0517 authored by Dillenn Terumalai's avatar Dillenn Terumalai
Browse files

// WIP

parent a2f5aa4d
image: php:8
before_script:
- bash ci/docker_install.sh > /dev/null
- apt-get update
- apt-get install -qq git curl libmcrypt-dev libjpeg-dev libpng-dev libfreetype6-dev libbz2-dev libzip-dev zip
- apt-get clean
- pecl install mcrypt
- docker-php-ext-enable mcrypt
- docker-php-ext-install zip
- curl --silent --show-error "https://getcomposer.org/installer" | php -- --install-dir=/usr/local/bin --filename=composer
test:package:
script:
......
project-0 @ c1963bf2
Subproject commit c1963bf2a98f731553b8c71ca8cb6f69bc5a39cd
#!/bin/bash
# We need to install dependencies only for Docker
[[ ! -e /.dockerenv ]] && exit 0
set -xe
# Update packages
apt-get update
# Install PHP and composer dependencies
apt-get install -qq git curl libmcrypt-dev libjpeg-dev libpng-dev libfreetype6-dev libbz2-dev
# Clear out the local repository of retrieved package files
apt-get clean
# Install needed extensions
# Here you can install any other extension that you need during the test and deployment process
docker-php-ext-install mcrypt zip
# Install composer, the dependency manager that we will use to install the PHP required packages
curl --silent --show-error "https://getcomposer.org/installer" | php -- --install-dir=/usr/local/bin --filename=composer
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment