From c76b1357dead52a2e69f01b39bd508858f08e410 Mon Sep 17 00:00:00 2001 From: Alex Carter Date: Fri, 27 Jan 2023 04:28:41 +0000 Subject: [PATCH] Copy image signing resources into docker filesystem Resources such as the policy.json and cosign.pub used to verify a signed image need to be copied into the docker environment to get used. Signed-off-by: Alex Carter --- Dockerfile.simple-kbs | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.simple-kbs b/Dockerfile.simple-kbs index 7938a3d..d9a059a 100644 --- a/Dockerfile.simple-kbs +++ b/Dockerfile.simple-kbs @@ -13,6 +13,7 @@ FROM debian:bullseye WORKDIR /usr/local/bin COPY --from=builder /usr/src/simple-kbs/target/release/simple-kbs ./ COPY default_policy.json ./ +COPY resources resources/ EXPOSE 44444 CMD ["simple-kbs", "--grpc_sock=0.0.0.0:44444"]