Skip to content

Commit 33001dd

Browse files
authored
Merge branch 'master' into merge-onatal-deps
2 parents ea2345a + cf96e86 commit 33001dd

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

Dockerfile.php7

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ RUN mkdir -p /etc/apt/keyrings \
5050
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
5151
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \
5252
&& apt-get update \
53-
&& apt-get install nodejs -y
53+
&& apt-get install nodejs -y \
54+
&& apt-get autoremove \
55+
&& apt-get clean \
56+
&& rm -rf /var/lib/apt/lists/*
5457

5558
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg \
5659
| gpg --dearmor >> /usr/share/keyrings/yarnkey.gpg \
@@ -62,7 +65,7 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg \
6265
&& rm -rf /var/lib/apt/lists/*
6366

6467
RUN docker-php-ext-install bz2 \
65-
&& install-php-extensions apcu gd gmp intl opcache pdo_mysql pdo_pgsql sockets zip imap mailparse soap mysqli bcmath soap \
68+
&& install-php-extensions apcu gd gmp intl opcache pdo_mysql pdo_pgsql sockets zip imap mailparse soap mysqli bcmath \
6669
&& apt-get autoremove \
6770
&& apt-get clean \
6871
&& rm -rf /var/lib/apt/lists/*

Dockerfile.php8

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ RUN mkdir -p /etc/apt/keyrings \
5050
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
5151
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \
5252
&& apt-get update \
53-
&& apt-get install nodejs -y
53+
&& apt-get install nodejs -y \
54+
&& apt-get autoremove \
55+
&& apt-get clean \
56+
&& rm -rf /var/lib/apt/lists/*
5457

5558
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg \
5659
| gpg --dearmor >> /usr/share/keyrings/yarnkey.gpg \
@@ -62,7 +65,7 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg \
6265
&& rm -rf /var/lib/apt/lists/*
6366

6467
RUN docker-php-ext-install bz2 \
65-
&& install-php-extensions apcu gd gmp intl opcache pdo_mysql pdo_pgsql sockets zip imap mailparse soap mysqli bcmath soap \
68+
&& install-php-extensions apcu gd gmp intl opcache pdo_mysql pdo_pgsql sockets zip imap mailparse soap mysqli bcmath \
6669
&& apt-get autoremove \
6770
&& apt-get clean \
6871
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)