diff --git a/Dockerfile b/Dockerfile index 8d298f4..a91d7c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,7 @@ RUN apk add --no-cache --virtual .build-deps \ brotli-dev # Reuse same cli arguments as the nginx:alpine image used to build +SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN CONFARGS=$(nginx -V 2>&1 | sed -n -e 's/^.*arguments: //p') \ tar -zxf nginx.tar.gz && \ tar -xzf "${NGX_MODULE_PATH}.tar.gz" && \