fix: add SHELL pipefail for hadolint DL4006
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user