@lando/drupal 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/builders/_drupaly.js +1 -1
- package/builders/drupal-php.js +17 -16
- package/builders/drupal10.js +1 -1
- package/builders/drupal6.js +3 -2
- package/builders/drupal9.js +1 -1
- package/netlify.toml +17 -1
- package/node_modules/@lando/mysql/CHANGELOG.md +5 -0
- package/node_modules/@lando/mysql/builders/mysql.js +3 -3
- package/node_modules/@lando/mysql/package.json +5 -5
- package/node_modules/@lando/php/CHANGELOG.md +29 -1
- package/node_modules/@lando/php/builders/php.js +75 -15
- package/node_modules/@lando/php/images/5.6-apache/Dockerfile +0 -4
- package/node_modules/@lando/php/images/5.6-fpm/Dockerfile +0 -5
- package/node_modules/@lando/php/images/7.0-apache/Dockerfile +0 -4
- package/node_modules/@lando/php/images/7.0-fpm/Dockerfile +0 -4
- package/node_modules/@lando/php/images/7.1-apache/Dockerfile +0 -4
- package/node_modules/@lando/php/images/7.1-fpm/Dockerfile +0 -4
- package/node_modules/@lando/php/images/7.2-apache/Dockerfile +0 -4
- package/node_modules/@lando/php/images/7.2-fpm/Dockerfile +0 -4
- package/node_modules/@lando/php/images/7.3-apache/Dockerfile +0 -3
- package/node_modules/@lando/php/images/7.3-fpm/Dockerfile +0 -3
- package/node_modules/@lando/php/images/7.4-apache/Dockerfile +45 -55
- package/node_modules/@lando/php/images/7.4-fpm/Dockerfile +59 -69
- package/node_modules/@lando/php/images/8.0-apache/Dockerfile +45 -56
- package/node_modules/@lando/php/images/8.0-fpm/Dockerfile +45 -56
- package/node_modules/@lando/php/images/8.1-apache/Dockerfile +12 -2
- package/node_modules/@lando/php/images/8.1-fpm/Dockerfile +12 -2
- package/node_modules/@lando/php/images/8.2-apache/Dockerfile +12 -2
- package/node_modules/@lando/php/images/8.2-fpm/Dockerfile +12 -2
- package/node_modules/@lando/php/images/8.3-apache/Dockerfile +24 -4
- package/node_modules/@lando/php/images/8.3-fpm/Dockerfile +25 -4
- package/node_modules/@lando/php/images/8.4-apache/Dockerfile +27 -4
- package/node_modules/@lando/php/images/8.4-fpm/Dockerfile +27 -4
- package/node_modules/@lando/php/netlify.toml +1 -1
- package/node_modules/@lando/php/package.json +5 -5
- package/node_modules/@lando/php/scripts/install-composer.sh +4 -0
- package/node_modules/@lando/php/utils/add-build-step.js +17 -3
- package/node_modules/@lando/php/utils/get-install-commands.js +19 -3
- package/package.json +7 -7
|
@@ -2,77 +2,67 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:7.4-fpm-bullseye
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
|
+
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
6
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
14
|
&& apt -y update && apt-get install -y \
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
&&
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
&&
|
|
58
|
-
&& docker-php-ext-install mbstring \
|
|
59
|
-
&& docker-php-ext-install mysqli \
|
|
60
|
-
&& docker-php-ext-install opcache \
|
|
61
|
-
&& docker-php-ext-install pcntl \
|
|
62
|
-
&& docker-php-ext-install pdo \
|
|
63
|
-
&& docker-php-ext-install pdo_mysql \
|
|
64
|
-
&& docker-php-ext-install pdo_pgsql \
|
|
65
|
-
&& docker-php-ext-install soap \
|
|
66
|
-
&& docker-php-ext-install zip \
|
|
67
|
-
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
68
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
69
|
-
&& php -r "unlink('composer-setup.php');" \
|
|
70
|
-
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
15
|
+
default-mysql-client \
|
|
16
|
+
exiftool \
|
|
17
|
+
git-core \
|
|
18
|
+
gnupg2 \
|
|
19
|
+
imagemagick \
|
|
20
|
+
libonig-dev \
|
|
21
|
+
mariadb-client \
|
|
22
|
+
openssl \
|
|
23
|
+
postgresql-client-13 \
|
|
24
|
+
pv \
|
|
25
|
+
rsync \
|
|
26
|
+
ssh \
|
|
27
|
+
unzip \
|
|
28
|
+
wget \
|
|
29
|
+
xfonts-75dpi \
|
|
30
|
+
xfonts-base
|
|
31
|
+
|
|
32
|
+
RUN \
|
|
33
|
+
install-php-extensions @fix_letsencrypt \
|
|
34
|
+
&& install-php-extensions apcu \
|
|
35
|
+
&& install-php-extensions bcmath \
|
|
36
|
+
&& install-php-extensions bz2 \
|
|
37
|
+
&& install-php-extensions calendar \
|
|
38
|
+
&& install-php-extensions exif \
|
|
39
|
+
&& install-php-extensions gd \
|
|
40
|
+
&& install-php-extensions gettext \
|
|
41
|
+
&& install-php-extensions imagick \
|
|
42
|
+
&& install-php-extensions imap \
|
|
43
|
+
&& install-php-extensions intl \
|
|
44
|
+
&& install-php-extensions ldap \
|
|
45
|
+
&& install-php-extensions mbstring \
|
|
46
|
+
&& install-php-extensions memcached \
|
|
47
|
+
&& install-php-extensions mysqli \
|
|
48
|
+
&& install-php-extensions oauth \
|
|
49
|
+
&& install-php-extensions opcache \
|
|
50
|
+
&& install-php-extensions pcntl \
|
|
51
|
+
&& install-php-extensions pdo \
|
|
52
|
+
&& install-php-extensions pdo_mysql \
|
|
53
|
+
&& install-php-extensions pdo_pgsql \
|
|
54
|
+
&& install-php-extensions redis \
|
|
55
|
+
&& install-php-extensions soap \
|
|
56
|
+
&& install-php-extensions xhprof \
|
|
57
|
+
&& install-php-extensions zip
|
|
58
|
+
|
|
59
|
+
# Install xdebug but disable it by default
|
|
60
|
+
RUN install-php-extensions xdebug \
|
|
61
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
62
|
+
|
|
63
|
+
RUN \
|
|
64
|
+
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
71
65
|
&& apt-get -y clean \
|
|
72
66
|
&& apt-get -y autoclean \
|
|
73
67
|
&& apt-get -y autoremove \
|
|
74
|
-
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
75
|
-
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
76
|
-
&& docker-php-ext-install imap \
|
|
77
|
-
&& docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp \
|
|
78
|
-
&& docker-php-ext-install gd
|
|
68
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
@@ -2,31 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.0-apache-bullseye
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
|
+
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
6
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
14
|
&& apt -y update && apt-get install -y \
|
|
8
|
-
bzip2 \
|
|
9
15
|
default-mysql-client \
|
|
10
16
|
exiftool \
|
|
11
17
|
git-core \
|
|
12
18
|
gnupg2 \
|
|
13
19
|
imagemagick \
|
|
14
|
-
libbz2-dev \
|
|
15
|
-
libc-client-dev \
|
|
16
|
-
libfreetype6-dev \
|
|
17
|
-
libicu-dev \
|
|
18
|
-
libjpeg62-turbo-dev \
|
|
19
|
-
libkrb5-dev \
|
|
20
|
-
libldap2-dev \
|
|
21
|
-
libmagickwand-dev \
|
|
22
|
-
libmemcached-dev \
|
|
23
|
-
libpng-dev \
|
|
24
|
-
libpq-dev \
|
|
25
|
-
libssl-dev \
|
|
26
|
-
libwebp-dev \
|
|
27
|
-
libxml2-dev \
|
|
28
|
-
libzip-dev \
|
|
29
20
|
libonig-dev \
|
|
21
|
+
mariadb-client \
|
|
30
22
|
openssl \
|
|
31
23
|
postgresql-client-13 \
|
|
32
24
|
pv \
|
|
@@ -35,45 +27,42 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
35
27
|
unzip \
|
|
36
28
|
wget \
|
|
37
29
|
xfonts-75dpi \
|
|
38
|
-
xfonts-base
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
&&
|
|
43
|
-
&&
|
|
44
|
-
&&
|
|
45
|
-
&&
|
|
46
|
-
&&
|
|
47
|
-
&&
|
|
48
|
-
&&
|
|
49
|
-
&&
|
|
50
|
-
&&
|
|
51
|
-
&&
|
|
52
|
-
&&
|
|
53
|
-
&&
|
|
54
|
-
&&
|
|
55
|
-
&&
|
|
56
|
-
&&
|
|
57
|
-
&&
|
|
58
|
-
&&
|
|
59
|
-
&&
|
|
60
|
-
&&
|
|
61
|
-
&&
|
|
62
|
-
&&
|
|
63
|
-
&&
|
|
64
|
-
&&
|
|
65
|
-
&&
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
&&
|
|
70
|
-
|
|
71
|
-
|
|
30
|
+
xfonts-base
|
|
31
|
+
|
|
32
|
+
RUN \
|
|
33
|
+
install-php-extensions @fix_letsencrypt \
|
|
34
|
+
&& install-php-extensions apcu \
|
|
35
|
+
&& install-php-extensions bcmath \
|
|
36
|
+
&& install-php-extensions bz2 \
|
|
37
|
+
&& install-php-extensions calendar \
|
|
38
|
+
&& install-php-extensions exif \
|
|
39
|
+
&& install-php-extensions gd \
|
|
40
|
+
&& install-php-extensions gettext \
|
|
41
|
+
&& install-php-extensions imagick \
|
|
42
|
+
&& install-php-extensions imap \
|
|
43
|
+
&& install-php-extensions intl \
|
|
44
|
+
&& install-php-extensions ldap \
|
|
45
|
+
&& install-php-extensions mbstring \
|
|
46
|
+
&& install-php-extensions memcached \
|
|
47
|
+
&& install-php-extensions mysqli \
|
|
48
|
+
&& install-php-extensions oauth \
|
|
49
|
+
&& install-php-extensions opcache \
|
|
50
|
+
&& install-php-extensions pcntl \
|
|
51
|
+
&& install-php-extensions pdo \
|
|
52
|
+
&& install-php-extensions pdo_mysql \
|
|
53
|
+
&& install-php-extensions pdo_pgsql \
|
|
54
|
+
&& install-php-extensions redis \
|
|
55
|
+
&& install-php-extensions soap \
|
|
56
|
+
&& install-php-extensions xhprof \
|
|
57
|
+
&& install-php-extensions zip
|
|
58
|
+
|
|
59
|
+
# Install xdebug but disable it by default
|
|
60
|
+
RUN install-php-extensions xdebug \
|
|
61
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
62
|
+
|
|
63
|
+
RUN \
|
|
64
|
+
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
72
65
|
&& apt-get -y clean \
|
|
73
66
|
&& apt-get -y autoclean \
|
|
74
67
|
&& apt-get -y autoremove \
|
|
75
|
-
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
76
|
-
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
77
|
-
&& docker-php-ext-install imap \
|
|
78
|
-
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
79
|
-
&& docker-php-ext-install gd
|
|
68
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
@@ -2,31 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.0-fpm-bullseye
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
|
+
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
6
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
14
|
&& apt -y update && apt-get install -y \
|
|
8
|
-
bzip2 \
|
|
9
15
|
default-mysql-client \
|
|
10
16
|
exiftool \
|
|
11
17
|
git-core \
|
|
12
18
|
gnupg2 \
|
|
13
19
|
imagemagick \
|
|
14
|
-
libbz2-dev \
|
|
15
|
-
libc-client-dev \
|
|
16
|
-
libfreetype6-dev \
|
|
17
|
-
libicu-dev \
|
|
18
|
-
libjpeg62-turbo-dev \
|
|
19
|
-
libkrb5-dev \
|
|
20
|
-
libldap2-dev \
|
|
21
|
-
libmagickwand-dev \
|
|
22
|
-
libmemcached-dev \
|
|
23
|
-
libpng-dev \
|
|
24
|
-
libpq-dev \
|
|
25
|
-
libssl-dev \
|
|
26
|
-
libwebp-dev \
|
|
27
|
-
libxml2-dev \
|
|
28
|
-
libzip-dev \
|
|
29
20
|
libonig-dev \
|
|
21
|
+
mariadb-client \
|
|
30
22
|
openssl \
|
|
31
23
|
postgresql-client-13 \
|
|
32
24
|
pv \
|
|
@@ -35,45 +27,42 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
35
27
|
unzip \
|
|
36
28
|
wget \
|
|
37
29
|
xfonts-75dpi \
|
|
38
|
-
xfonts-base
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
&&
|
|
43
|
-
&&
|
|
44
|
-
&&
|
|
45
|
-
&&
|
|
46
|
-
&&
|
|
47
|
-
&&
|
|
48
|
-
&&
|
|
49
|
-
&&
|
|
50
|
-
&&
|
|
51
|
-
&&
|
|
52
|
-
&&
|
|
53
|
-
&&
|
|
54
|
-
&&
|
|
55
|
-
&&
|
|
56
|
-
&&
|
|
57
|
-
&&
|
|
58
|
-
&&
|
|
59
|
-
&&
|
|
60
|
-
&&
|
|
61
|
-
&&
|
|
62
|
-
&&
|
|
63
|
-
&&
|
|
64
|
-
&&
|
|
65
|
-
&&
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
&&
|
|
70
|
-
|
|
71
|
-
|
|
30
|
+
xfonts-base
|
|
31
|
+
|
|
32
|
+
RUN \
|
|
33
|
+
install-php-extensions @fix_letsencrypt \
|
|
34
|
+
&& install-php-extensions apcu \
|
|
35
|
+
&& install-php-extensions bcmath \
|
|
36
|
+
&& install-php-extensions bz2 \
|
|
37
|
+
&& install-php-extensions calendar \
|
|
38
|
+
&& install-php-extensions exif \
|
|
39
|
+
&& install-php-extensions gd \
|
|
40
|
+
&& install-php-extensions gettext \
|
|
41
|
+
&& install-php-extensions imagick \
|
|
42
|
+
&& install-php-extensions imap \
|
|
43
|
+
&& install-php-extensions intl \
|
|
44
|
+
&& install-php-extensions ldap \
|
|
45
|
+
&& install-php-extensions mbstring \
|
|
46
|
+
&& install-php-extensions memcached \
|
|
47
|
+
&& install-php-extensions mysqli \
|
|
48
|
+
&& install-php-extensions oauth \
|
|
49
|
+
&& install-php-extensions opcache \
|
|
50
|
+
&& install-php-extensions pcntl \
|
|
51
|
+
&& install-php-extensions pdo \
|
|
52
|
+
&& install-php-extensions pdo_mysql \
|
|
53
|
+
&& install-php-extensions pdo_pgsql \
|
|
54
|
+
&& install-php-extensions redis \
|
|
55
|
+
&& install-php-extensions soap \
|
|
56
|
+
&& install-php-extensions xhprof \
|
|
57
|
+
&& install-php-extensions zip
|
|
58
|
+
|
|
59
|
+
# Install xdebug but disable it by default
|
|
60
|
+
RUN install-php-extensions xdebug \
|
|
61
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
62
|
+
|
|
63
|
+
RUN \
|
|
64
|
+
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
72
65
|
&& apt-get -y clean \
|
|
73
66
|
&& apt-get -y autoclean \
|
|
74
67
|
&& apt-get -y autoremove \
|
|
75
|
-
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
76
|
-
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
77
|
-
&& docker-php-ext-install imap \
|
|
78
|
-
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
79
|
-
&& docker-php-ext-install gd
|
|
68
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
@@ -4,6 +4,12 @@ FROM php:8.1-apache-bookworm
|
|
|
4
4
|
|
|
5
5
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
6
|
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
7
13
|
RUN \
|
|
8
14
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
15
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +17,8 @@ RUN \
|
|
|
11
17
|
exiftool \
|
|
12
18
|
git-core \
|
|
13
19
|
gnupg2 \
|
|
20
|
+
imagemagick \
|
|
21
|
+
mariadb-client \
|
|
14
22
|
openssl \
|
|
15
23
|
postgresql-client-15 \
|
|
16
24
|
pv \
|
|
@@ -43,10 +51,12 @@ RUN \
|
|
|
43
51
|
&& install-php-extensions pdo_pgsql \
|
|
44
52
|
&& install-php-extensions redis \
|
|
45
53
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
54
|
+
&& install-php-extensions xhprof \
|
|
47
55
|
&& install-php-extensions zip
|
|
48
56
|
|
|
49
|
-
|
|
57
|
+
# Install xdebug but disable it by default
|
|
58
|
+
RUN install-php-extensions xdebug \
|
|
59
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
50
60
|
|
|
51
61
|
RUN \
|
|
52
62
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
@@ -4,6 +4,12 @@ FROM php:8.1-fpm-bookworm
|
|
|
4
4
|
|
|
5
5
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
6
|
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
7
13
|
RUN \
|
|
8
14
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
15
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +17,8 @@ RUN \
|
|
|
11
17
|
exiftool \
|
|
12
18
|
git-core \
|
|
13
19
|
gnupg2 \
|
|
20
|
+
imagemagick \
|
|
21
|
+
mariadb-client \
|
|
14
22
|
openssl \
|
|
15
23
|
postgresql-client-15 \
|
|
16
24
|
pv \
|
|
@@ -43,10 +51,12 @@ RUN \
|
|
|
43
51
|
&& install-php-extensions pdo_pgsql \
|
|
44
52
|
&& install-php-extensions redis \
|
|
45
53
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
54
|
+
&& install-php-extensions xhprof \
|
|
47
55
|
&& install-php-extensions zip
|
|
48
56
|
|
|
49
|
-
|
|
57
|
+
# Install xdebug but disable it by default
|
|
58
|
+
RUN install-php-extensions xdebug \
|
|
59
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
50
60
|
|
|
51
61
|
RUN \
|
|
52
62
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
@@ -4,6 +4,12 @@ FROM php:8.2-apache-bookworm
|
|
|
4
4
|
|
|
5
5
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
6
|
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
7
13
|
RUN \
|
|
8
14
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
15
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +17,8 @@ RUN \
|
|
|
11
17
|
exiftool \
|
|
12
18
|
git-core \
|
|
13
19
|
gnupg2 \
|
|
20
|
+
imagemagick \
|
|
21
|
+
mariadb-client \
|
|
14
22
|
openssl \
|
|
15
23
|
postgresql-client-15 \
|
|
16
24
|
pv \
|
|
@@ -43,10 +51,12 @@ RUN \
|
|
|
43
51
|
&& install-php-extensions pdo_pgsql \
|
|
44
52
|
&& install-php-extensions redis \
|
|
45
53
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
54
|
+
&& install-php-extensions xhprof \
|
|
47
55
|
&& install-php-extensions zip
|
|
48
56
|
|
|
49
|
-
|
|
57
|
+
# Install xdebug but disable it by default
|
|
58
|
+
RUN install-php-extensions xdebug \
|
|
59
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
50
60
|
|
|
51
61
|
RUN \
|
|
52
62
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
@@ -4,6 +4,12 @@ FROM php:8.2-fpm-bookworm
|
|
|
4
4
|
|
|
5
5
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
6
|
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
7
13
|
RUN \
|
|
8
14
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
15
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +17,8 @@ RUN \
|
|
|
11
17
|
exiftool \
|
|
12
18
|
git-core \
|
|
13
19
|
gnupg2 \
|
|
20
|
+
imagemagick \
|
|
21
|
+
mariadb-client \
|
|
14
22
|
openssl \
|
|
15
23
|
postgresql-client-15 \
|
|
16
24
|
pv \
|
|
@@ -43,10 +51,12 @@ RUN \
|
|
|
43
51
|
&& install-php-extensions pdo_pgsql \
|
|
44
52
|
&& install-php-extensions redis \
|
|
45
53
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
54
|
+
&& install-php-extensions xhprof \
|
|
47
55
|
&& install-php-extensions zip
|
|
48
56
|
|
|
49
|
-
|
|
57
|
+
# Install xdebug but disable it by default
|
|
58
|
+
RUN install-php-extensions xdebug \
|
|
59
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
50
60
|
|
|
51
61
|
RUN \
|
|
52
62
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
@@ -2,8 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.3-apache-bookworm
|
|
4
4
|
|
|
5
|
+
ARG TARGETARCH
|
|
6
|
+
|
|
5
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
8
|
|
|
9
|
+
RUN \
|
|
10
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
11
|
+
mkdir -p /etc/apt/keyrings \
|
|
12
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
13
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
14
|
+
|
|
15
|
+
# Drupal 11 requires sqlite3 3.45+
|
|
16
|
+
ARG SQLITE_VERSION=3.45.1
|
|
17
|
+
RUN \
|
|
18
|
+
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
19
|
+
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
20
|
+
&& curl -Lo /tmp/libsqlite3-dev.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-dev_${SQLITE_VERSION}-1_${TARGETARCH}.deb"
|
|
21
|
+
|
|
7
22
|
RUN \
|
|
8
23
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
24
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,13 +26,16 @@ RUN \
|
|
|
11
26
|
exiftool \
|
|
12
27
|
git-core \
|
|
13
28
|
gnupg2 \
|
|
14
|
-
|
|
29
|
+
imagemagick \
|
|
15
30
|
postgresql-client-15 \
|
|
16
31
|
pv \
|
|
17
32
|
rsync \
|
|
18
33
|
ssh \
|
|
19
34
|
unzip \
|
|
20
|
-
wget
|
|
35
|
+
wget \
|
|
36
|
+
/tmp/sqlite3.deb \
|
|
37
|
+
/tmp/libsqlite3-0.deb \
|
|
38
|
+
/tmp/libsqlite3-dev.deb
|
|
21
39
|
|
|
22
40
|
RUN \
|
|
23
41
|
install-php-extensions @fix_letsencrypt \
|
|
@@ -43,10 +61,12 @@ RUN \
|
|
|
43
61
|
&& install-php-extensions pdo_pgsql \
|
|
44
62
|
&& install-php-extensions redis \
|
|
45
63
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
64
|
+
&& install-php-extensions xhprof \
|
|
47
65
|
&& install-php-extensions zip
|
|
48
66
|
|
|
49
|
-
|
|
67
|
+
# Install xdebug but disable it by default
|
|
68
|
+
RUN install-php-extensions xdebug \
|
|
69
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
50
70
|
|
|
51
71
|
RUN \
|
|
52
72
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
@@ -2,8 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.3-fpm-bookworm
|
|
4
4
|
|
|
5
|
+
ARG TARGETARCH
|
|
6
|
+
|
|
5
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
8
|
|
|
9
|
+
RUN \
|
|
10
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
11
|
+
mkdir -p /etc/apt/keyrings \
|
|
12
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
13
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
14
|
+
|
|
15
|
+
# Drupal 11 requires sqlite3 3.45+
|
|
16
|
+
ARG SQLITE_VERSION=3.45.1
|
|
17
|
+
RUN \
|
|
18
|
+
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
19
|
+
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
20
|
+
&& curl -Lo /tmp/libsqlite3-dev.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-dev_${SQLITE_VERSION}-1_${TARGETARCH}.deb"
|
|
21
|
+
|
|
7
22
|
RUN \
|
|
8
23
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
24
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,13 +26,17 @@ RUN \
|
|
|
11
26
|
exiftool \
|
|
12
27
|
git-core \
|
|
13
28
|
gnupg2 \
|
|
14
|
-
|
|
29
|
+
imagemagick \
|
|
30
|
+
mariadb-client \
|
|
15
31
|
postgresql-client-15 \
|
|
16
32
|
pv \
|
|
17
33
|
rsync \
|
|
18
34
|
ssh \
|
|
19
35
|
unzip \
|
|
20
|
-
wget
|
|
36
|
+
wget \
|
|
37
|
+
/tmp/sqlite3.deb \
|
|
38
|
+
/tmp/libsqlite3-0.deb \
|
|
39
|
+
/tmp/libsqlite3-dev.deb
|
|
21
40
|
|
|
22
41
|
RUN \
|
|
23
42
|
install-php-extensions @fix_letsencrypt \
|
|
@@ -43,10 +62,12 @@ RUN \
|
|
|
43
62
|
&& install-php-extensions pdo_pgsql \
|
|
44
63
|
&& install-php-extensions redis \
|
|
45
64
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
65
|
+
&& install-php-extensions xhprof \
|
|
47
66
|
&& install-php-extensions zip
|
|
48
67
|
|
|
49
|
-
|
|
68
|
+
# Install xdebug but disable it by default
|
|
69
|
+
RUN install-php-extensions xdebug \
|
|
70
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
50
71
|
|
|
51
72
|
RUN \
|
|
52
73
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|