Skip to content

Commit ea2345a

Browse files
committed
Merge LinkORB/Onatal-specific dependencies to the base docker images
Merges LinkORB/Onatal-specific dependencies (apt packages and PHP exts) to the base file, this requiring fewer layers in the downstream image layers.
1 parent 48653a4 commit ea2345a

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

Dockerfile.php7

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ RUN apt-get update \
3434
zip \
3535
ca-certificates \
3636
gnupg \
37+
tidy \
38+
wkhtmltopdf \
39+
pdftk \
40+
libxml2-dev \
3741
&& apt-get autoremove \
3842
&& apt-get clean \
3943
&& rm -rf /var/lib/apt/lists/*
@@ -58,7 +62,7 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg \
5862
&& rm -rf /var/lib/apt/lists/*
5963

6064
RUN docker-php-ext-install bz2 \
61-
&& install-php-extensions apcu gd gmp intl opcache pdo_mysql pdo_pgsql sockets zip imap mailparse soap \
65+
&& install-php-extensions apcu gd gmp intl opcache pdo_mysql pdo_pgsql sockets zip imap mailparse soap mysqli bcmath soap \
6266
&& apt-get autoremove \
6367
&& apt-get clean \
6468
&& rm -rf /var/lib/apt/lists/*

Dockerfile.php8

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ RUN apt-get update \
3434
zip \
3535
ca-certificates \
3636
gnupg \
37+
tidy \
38+
wkhtmltopdf \
39+
pdftk \
40+
libxml2-dev \
3741
&& apt-get autoremove \
3842
&& apt-get clean \
3943
&& rm -rf /var/lib/apt/lists/*
@@ -58,7 +62,7 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg \
5862
&& rm -rf /var/lib/apt/lists/*
5963

6064
RUN docker-php-ext-install bz2 \
61-
&& install-php-extensions apcu gd gmp intl opcache pdo_mysql pdo_pgsql sockets zip imap mailparse soap \
65+
&& install-php-extensions apcu gd gmp intl opcache pdo_mysql pdo_pgsql sockets zip imap mailparse soap mysqli bcmath soap \
6266
&& apt-get autoremove \
6367
&& apt-get clean \
6468
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)