Skip to content

Commit

Permalink
docker: Install configuration file in the correct path
Browse files Browse the repository at this point in the history
Install the configuration file in /etc/keylime/agent.conf instead of
/etc/keylime/keylime-agent.conf

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
  • Loading branch information
ansasaki committed Feb 1, 2024
1 parent cffb58c commit c30c5fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/release/Dockerfile.distroless
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/release/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/release/Dockerfile.wolfi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c30c5fb

Please sign in to comment.