Fix policy permissions in Docker image

This commit is contained in:
Quentin Gliech
2022-11-18 23:25:50 +01:00
parent b65da969ba
commit c8a23d5439

View File

@@ -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 ##