File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ FROM rust:1.85-slim as builder
2
2
3
3
WORKDIR /app
4
4
5
+ # Install OpenSSL dependencies
6
+ RUN apt-get update && \
7
+ apt-get install -y pkg-config libssl-dev && \
8
+ rm -rf /var/lib/apt/lists/*
9
+
5
10
# Copy Cargo files for dependency caching
6
11
COPY Cargo.toml Cargo.lock* ./
7
12
@@ -15,7 +20,7 @@ RUN cargo build --release
15
20
FROM debian:bookworm-slim
16
21
17
22
# Install dependencies for SSL/TLS
18
- RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
23
+ RUN apt-get update && apt-get install -y ca-certificates libssl3 && rm -rf /var/lib/apt/lists/*
19
24
20
25
# Copy the built binary from the builder stage
21
26
COPY --from=builder /app/target/release/l402-server-example-rs /usr/local/bin/l402-server
You can’t perform that action at this time.
0 commit comments