diff --git a/ci/Dockerfile b/ci/Dockerfile index 75c06d79..3f2baaa5 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -59,6 +59,7 @@ RUN if [ "$(uname -m)" = "ppc64le" ]; then \ FROM public.ecr.aws/docker/library/golang:1.23.0-alpine3.20 AS pprof RUN go install github.com/google/pprof@latest +RUN go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest FROM public.ecr.aws/debian/debian:bookworm-slim @@ -72,6 +73,7 @@ COPY --from=builder /app/client/target/release/dfdaemon /usr/local/bin/dfdaemon COPY --from=builder /app/client/target/release/dfcache /usr/local/bin/dfcache COPY --from=builder /usr/local/bin/tokio-console /usr/local/bin/ COPY --from=pprof /go/bin/pprof /bin/pprof +COPY --from=pprof /go/bin/grpcurl /bin/grpcurl COPY --from=health /bin/grpc_health_probe /bin/grpc_health_probe ENTRYPOINT ["/usr/local/bin/dfdaemon"] diff --git a/ci/Dockerfile.debug b/ci/Dockerfile.debug index 4566b2b1..bbf8845c 100644 --- a/ci/Dockerfile.debug +++ b/ci/Dockerfile.debug @@ -61,6 +61,7 @@ RUN if [ "$(uname -m)" = "ppc64le" ]; then \ FROM public.ecr.aws/docker/library/golang:1.23.0-alpine3.20 AS pprof RUN go install github.com/google/pprof@latest +RUN go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest FROM public.ecr.aws/debian/debian:bookworm-slim @@ -76,6 +77,7 @@ COPY --from=builder /usr/local/bin/flamegraph /usr/local/bin/ COPY --from=builder /usr/local/bin/btm /usr/local/bin/ COPY --from=builder /usr/local/bin/tokio-console /usr/local/bin/ COPY --from=pprof /go/bin/pprof /bin/pprof +COPY --from=pprof /go/bin/grpcurl /bin/grpcurl COPY --from=health /bin/grpc_health_probe /bin/grpc_health_probe ENTRYPOINT ["/usr/local/bin/dfdaemon"] diff --git a/dragonfly-client-util/Cargo.toml b/dragonfly-client-util/Cargo.toml index f5ef0382..c4008061 100644 --- a/dragonfly-client-util/Cargo.toml +++ b/dragonfly-client-util/Cargo.toml @@ -25,6 +25,7 @@ sha2.workspace = true uuid.workspace = true hex.workspace = true crc32fast.workspace = true +openssl.workspace = true lazy_static.workspace = true bytesize.workspace = true lru.workspace = true diff --git a/dragonfly-client/Cargo.toml b/dragonfly-client/Cargo.toml index 015c25f0..ef7045d2 100644 --- a/dragonfly-client/Cargo.toml +++ b/dragonfly-client/Cargo.toml @@ -48,6 +48,7 @@ tokio-stream.workspace = true reqwest.workspace = true url.workspace = true http.workspace = true +openssl.workspace = true clap.workspace = true anyhow.workspace = true bytes.workspace = true