fix: add SHELL pipefail for hadolint DL4006
Docker Build and Push / lint (pull_request) Successful in 15s
Docker Build and Push / build (pull_request) Successful in 1m28s
Docker Build and Push / test (pull_request) Failing after 1m57s
Docker Build and Push / push (pull_request) Has been skipped

This commit is contained in:
2026-06-08 19:17:29 +00:00
parent 99d3e4a781
commit c148d9480d
+1
View File
@@ -2,6 +2,7 @@ ARG VERSION="latest"
FROM "jcabillot/phpapache:${VERSION}" FROM "jcabillot/phpapache:${VERSION}"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" | tar -zx --strip=1 RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" | tar -zx --strip=1
RUN echo "*" > "/var/www/html/whitelist.txt" RUN echo "*" > "/var/www/html/whitelist.txt"