From 1600b8084c35705e5c5df0b844ac0070d2636c1c Mon Sep 17 00:00:00 2001 From: Marko Kaznovac Date: Tue, 23 Feb 2021 13:24:12 +0100 Subject: [PATCH] use && instead of ; to chain sh commands this makes next command execute only if the prior one is successful, otherwise all commands will execute --- doctrine/doctrine-bundle/1.6/manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 995a953a..062aed0e 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -15,9 +15,9 @@ "DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8" }, "dockerfile": [ - "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", - "\tdocker-php-ext-install -j$(nproc) pdo_pgsql; \\", - "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\", + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\", + "\tdocker-php-ext-install -j$(nproc) pdo_pgsql && \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5 && \\", "\tapk del .pgsql-deps" ], "docker-compose": {