chore: change base image to debian:bookworm-slim in runtime image (#191)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
dbba6767bb
commit
d5272875e2
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "dragonfly-client"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
authors = ["The Dragonfly Developers"]
|
||||
homepage = "https://d7y.io/"
|
||||
repository = "https://github.com/dragonflyoss/client.git"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
ARG BASE_IMAGE=rust
|
||||
|
||||
FROM ${BASE_IMAGE} as builder
|
||||
FROM rust as builder
|
||||
|
||||
RUN apt-get update && apt-get install -y openssl libclang-dev pkg-config protobuf-compiler
|
||||
|
||||
|
|
@ -22,7 +20,7 @@ RUN if [ "$(uname -m)" = "ppc64le" ]; then \
|
|||
fi && \
|
||||
chmod +x /bin/grpc_health_probe
|
||||
|
||||
FROM ${BASE_IMAGE}
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
COPY --from=builder /app/client/target/release/dfget /usr/local/bin/dfget
|
||||
COPY --from=builder /app/client/target/release/dfdaemon /usr/local/bin/dfdaemon
|
||||
|
|
|
|||
Loading…
Reference in New Issue