We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ad5ad3 + 5a5401c commit f6246c5Copy full SHA for f6246c5
caddy/Dockerfile
@@ -16,8 +16,9 @@ FROM caddy:"${CADDY_VERSION}-builder" AS builder-crs
16
ARG CRS_VERSION="n/a"
17
18
# Get OWASP ModSecurity Core Rule Set and main configuration file
19
-RUN --mount=type=cache,target=/var/tmp,id=crs \
20
- set -eux; \
+# Ideally we can get back this cache: --mount=type=cache,target=/var/tmp,id=crs \
+# But it seems that the cache is not working as expected on multi arch builds
21
+RUN set -eux; \
22
# Only retrieve and extract rule set if not existing due to cache layer
23
if [ ! -d "/var/tmp/owasp-crs" ]; \
24
then \
0 commit comments