Skip to content

Commit c30c5fb

Browse files
committed
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 <[email protected]>
1 parent cffb58c commit c30c5fb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker/release/Dockerfile.distroless

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ COPY --from=builder \
8080

8181
# now copy the agent from the builder
8282
COPY --from=builder /src/rust-keylime/target/release/keylime_agent /bin/keylime_agent
83-
COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/keylime-agent.conf
83+
COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/agent.conf
8484
ENTRYPOINT ["/bin/keylime_agent"]
8585

8686
# we default the log level to info if not overwritten

docker/release/Dockerfile.fedora

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ RUN microdnf makecache && \
4949

5050
# now copy the agent from the builder
5151
COPY --from=builder /src/rust-keylime/target/release/keylime_agent /bin/keylime_agent
52-
COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/keylime-agent.conf
52+
COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/agent.conf
5353
ENTRYPOINT ["/bin/keylime_agent"]
5454

5555
# we default the log level to info if not overwritten

docker/release/Dockerfile.wolfi

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ COPY --from=builder \
9191

9292
# now copy the agent from the builder
9393
COPY --from=builder /src/rust-keylime/target/release/keylime_agent /bin/keylime_agent
94-
COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/keylime-agent.conf
94+
COPY --from=builder /src/rust-keylime/keylime-agent.conf /etc/keylime/agent.conf
9595
ENTRYPOINT ["/bin/keylime_agent"]
9696

9797
# we default the log level to info if not overwritten

0 commit comments

Comments
 (0)