-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent-drupal7-dependencies.yaml
53 lines (52 loc) · 1.48 KB
/
component-drupal7-dependencies.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'Install Drupal 7 Dependencies'
description: "This component installs Drupal 7's dependencies."
schemaVersion: 1.0
phases:
- name: build
steps:
- name: InstallDrupal7Dependencies
action: ExecuteBash
onFailure: Abort
maxAttempts: 3
inputs:
commands:
- |
DEBIAN_FRONTEND=noninteractive apt-get install -y \
apache2 \
libgd3 \
mysql-client \
unzip \
php7.4 \
php7.4-fpm \
php7.4-cli \
php7.4-common \
php7.4-curl \
php7.4-dev \
php7.4-fpm \
php7.4-gd \
php7.4-json \
php7.4-soap \
php7.4-xml \
php7.4-zip \
php7.4-mysql \
php-date \
php-cas \
php7.4-mbstring \
zip \
postfix \
ghostscript \
ca-certificates
- name: DownloadDrush
action: WebDownload
onFailure: Abort
maxAttempts: 3
inputs:
- source: https://github.com/drush-ops/drush/releases/download/8.4.8/drush.phar
destination: /usr/local/bin/drush
- name: ChmodDrush
action: ExecuteBash
onFailure: Abort
maxAttempts: 3
inputs:
commands:
- chmod +x /usr/local/bin/drush