From c30c5fb0f3f80a14ee09d97ff193df6541ea0bc7 Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Thu, 1 Feb 2024 11:46:36 +0100 Subject: [PATCH] docker: Install configuration file in the correct path Install the configuration file in /etc/keylime/agent.conf instead of /etc/keylime/keylime-agent.conf Signed-off-by: Anderson Toshiyuki Sasaki --- docker/release/Dockerfile.distroless | 2 +- docker/release/Dockerfile.fedora | 2 +- docker/release/Dockerfile.wolfi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/release/Dockerfile.distroless b/docker/release/Dockerfile.distroless index 1be9ba52..6ee95760 100644 --- a/docker/release/Dockerfile.distroless +++ b/docker/release/Dockerfile.distroless @@ -80,7 +80,7 @@ COPY --from=builder \ # now copy the agent from the builder COPY --from=builder /src/rust-keylime/target/release/keylime_agent /bin/keylime_agent -COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/keylime-agent.conf +COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/agent.conf ENTRYPOINT ["/bin/keylime_agent"] # we default the log level to info if not overwritten diff --git a/docker/release/Dockerfile.fedora b/docker/release/Dockerfile.fedora index 78fbdbfb..0b32ba00 100644 --- a/docker/release/Dockerfile.fedora +++ b/docker/release/Dockerfile.fedora @@ -49,7 +49,7 @@ RUN microdnf makecache && \ # now copy the agent from the builder COPY --from=builder /src/rust-keylime/target/release/keylime_agent /bin/keylime_agent -COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/keylime-agent.conf +COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/agent.conf ENTRYPOINT ["/bin/keylime_agent"] # we default the log level to info if not overwritten diff --git a/docker/release/Dockerfile.wolfi b/docker/release/Dockerfile.wolfi index 8ca18c0e..688e6345 100644 --- a/docker/release/Dockerfile.wolfi +++ b/docker/release/Dockerfile.wolfi @@ -91,7 +91,7 @@ COPY --from=builder \ # now copy the agent from the builder COPY --from=builder /src/rust-keylime/target/release/keylime_agent /bin/keylime_agent -COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/keylime-agent.conf +COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/agent.conf ENTRYPOINT ["/bin/keylime_agent"] # we default the log level to info if not overwritten