From c8a23d5439e80f9a3e81f43efd320038dee68a11 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Fri, 18 Nov 2022 23:25:50 +0100 Subject: [PATCH] Fix policy permissions in Docker image --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 269f6fbcc..de9ee8fa4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,9 +57,7 @@ ADD --chmod=755 https://github.com/open-policy-agent/opa/releases/download/v${OP WORKDIR /app/policies COPY ./policies /app/policies RUN make -B - -# Change the timestamp of built files for better caching -RUN touch -t 197001010000.00 {} policy.wasm +RUN chmod a+r ./policy.wasm ########################################################################## ## Base image with cargo-chef and the right cross-compilation toolchain ##