From 1405de545d66c12dd5495f13f68834b2f6b04490 Mon Sep 17 00:00:00 2001 From: Alexandre Boucaud Date: Thu, 14 May 2026 15:56:32 +0200 Subject: [PATCH] Curl needs to be installed in python slim CURL is no longer shipped with python slim images --- src/lightcone/cli/commands.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lightcone/cli/commands.py b/src/lightcone/cli/commands.py index c187071..869faf8 100644 --- a/src/lightcone/cli/commands.py +++ b/src/lightcone/cli/commands.py @@ -313,6 +313,12 @@ def init( WORKDIR /app COPY requirements.txt . + +# Install curl and certificates, then clean up to keep image size small +RUN apt-get update && \ + apt-get install -y --no-install-recommends curl ca-certificates && \ + rm -rf /var/lib/apt/lists/* + # Install uv RUN curl -LsSf https://astral.sh/uv/install.sh | sh ENV PATH="/root/.local/bin:$PATH"