Skip to content

Commit 9a0bd07

Browse files
committed
fix: hadolint
================> EXTRAS <================ > Branch name: main
1 parent 35c8203 commit 9a0bd07

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

7.4/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ RUN docker-php-ext-install \
3434
pdo_pgsql pdo_sqlite pgsql shmop soap sockets sysvmsg sysvsem sysvshm xmlrpc zend_test zip
3535

3636
# Composer and tools
37-
SHELL ["/bin/sh", "-o", "pipefail", "-c"]
38-
RUN curl --silent https://getcomposer.org/installer | php && \
37+
RUN set -o pipefail && curl --silent https://getcomposer.org/installer | php && \
3938
mv ./composer.phar /usr/local/bin/composer
4039
RUN composer global config \
4140
--no-plugins allow-plugins.pestphp/pest-plugin true && \

8.0/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ RUN docker-php-ext-install \
3838
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0"
3939

4040
# Composer and tools
41-
SHELL ["/bin/sh", "-o", "pipefail", "-c"]
42-
RUN curl --silent https://getcomposer.org/installer | php && \
41+
RUN set -o pipefail && curl --silent https://getcomposer.org/installer | php && \
4342
mv ./composer.phar /usr/local/bin/composer
4443
RUN composer global config \
4544
--no-plugins allow-plugins.pestphp/pest-plugin true && \

8.1/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ RUN docker-php-ext-install \
3838
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0"
3939

4040
# Composer and tools
41-
SHELL ["/bin/sh", "-o", "pipefail", "-c"]
42-
RUN curl --silent https://getcomposer.org/installer | php && \
41+
RUN set -o pipefail && curl --silent https://getcomposer.org/installer | php && \
4342
mv ./composer.phar /usr/local/bin/composer
4443
RUN composer global config \
4544
--no-plugins allow-plugins.pestphp/pest-plugin true && \

8.2/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ RUN docker-php-ext-install \
3838
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0"
3939

4040
# Composer and tools
41-
SHELL ["/bin/sh", "-o", "pipefail", "-c"]
42-
RUN curl --silent https://getcomposer.org/installer | php && \
41+
RUN set -o pipefail && curl --silent https://getcomposer.org/installer | php && \
4342
mv ./composer.phar /usr/local/bin/composer
4443
RUN composer global config \
4544
--no-plugins allow-plugins.pestphp/pest-plugin true && \

0 commit comments

Comments
 (0)