Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN --mount=type=cache,sharing=locked,target=/chroma/target/ \

FROM debian:stable-slim AS runner

RUN apt-get update && apt-get install -y dumb-init libssl-dev ca-certificates && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y dumb-init libssl-dev ca-certificates curl && rm -rf /var/lib/apt/lists/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommended

[Performance] To minimize the final image size, it's a good practice to add the --no-install-recommends flag to your apt-get install command. This prevents the installation of extra packages that are not strict dependencies, resulting in a leaner image.

Context for Agents
To minimize the final image size, it's a good practice to add the `--no-install-recommends` flag to your `apt-get install` command. This prevents the installation of extra packages that are not strict dependencies, resulting in a leaner image.

File: rust/Dockerfile
Line: 63


FROM runner AS cli

Expand Down