Skip to content

Commit 5ad4ea3

Browse files
committed
feat: db clients must not be installed by default
1 parent 6717359 commit 5ad4ea3

File tree

12 files changed

+18
-29
lines changed

12 files changed

+18
-29
lines changed

dist/dev/7.4-cli-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

dist/dev/7.4-fpm-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

dist/dev/7.4-supervisord-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

dist/dev/8.0-cli-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

dist/dev/8.0-fpm-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

dist/dev/8.0-supervisord-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

dist/dev/8.1-cli-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

dist/dev/8.1-fpm-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

dist/dev/8.1-supervisord-alpine/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ RUN set -eux; \
3636
# Other Dependencies
3737
# Composer
3838
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
39-
&& apk add --no-cache \
40-
postgresql-client \
41-
postgis \
4239
# LibFakeTime - Dynamically change time in docker containers
4340
# Adding the faketime library to the preload file needs to be done last.
4441
# Otherwise, it will preload it for all commands that follow in this file

src/Dockerfiles/dev/Dockerfile.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ RUN set -eux; \
3939
{% if true == install_composer %}
4040
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
4141
{% endif %}
42+
{% if 'cli' == php_type %}
4243
{% if true == install_postgres_client %}
4344
&& apk add --no-cache \
4445
postgresql-client \
@@ -48,6 +49,7 @@ RUN set -eux; \
4849
{% endif %}
4950
{% if true == install_mysql_client %}
5051
&& apk add --no-cache mysql-client \
52+
{% endif %}
5153
{% endif %}
5254
# LibFakeTime - Dynamically change time in docker containers
5355
# Adding the faketime library to the preload file needs to be done last.

0 commit comments

Comments
 (0)