We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86482a3 commit 94382f6Copy full SHA for 94382f6
agent.Dockerfile
@@ -0,0 +1,17 @@
1
+FROM rust:slim-bookworm as builder
2
+
3
+RUN apt update && apt install -y curl libssl-dev pkg-config && apt clean all
4
5
+ADD . /agent
6
+WORKDIR /agent
7
8
+RUN cargo build --release
9
10
+FROM debian:12-slim
11
12
+RUN apt update && apt install -y libssl-dev && apt clean all
13
14
+COPY --from=builder /agent/target/release/agent /agent/
15
+COPY --from=builder /agent/config/* /agent/config/
16
17
+ENTRYPOINT ["/agent/agent"]
0 commit comments