From 6dccb22e38e741800d590d72d1ebe279792bc09f Mon Sep 17 00:00:00 2001 From: Yashraj Dighe Date: Thu, 17 Apr 2025 19:46:21 +0530 Subject: [PATCH] Fix: add missing curl to dockerfile langflow-ai/langflow-helm-charts#40 (#6971) * add missing curl and remove empty continuation line * add missing curl * Update docker/build_and_push.Dockerfile Co-authored-by: Gabriel Luiz Freitas Almeida * Update docker/build_and_push_base.Dockerfile Co-authored-by: Gabriel Luiz Freitas Almeida --------- Co-authored-by: Gabriel Luiz Freitas Almeida --- docker/build_and_push.Dockerfile | 3 +-- docker/build_and_push_base.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/build_and_push.Dockerfile b/docker/build_and_push.Dockerfile index 9a44f2919..0dd015023 100644 --- a/docker/build_and_push.Dockerfile +++ b/docker/build_and_push.Dockerfile @@ -30,7 +30,6 @@ RUN apt-get update \ npm \ # gcc gcc \ - && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -69,7 +68,7 @@ FROM python:3.12.3-slim AS runtime RUN apt-get update \ && apt-get upgrade -y \ - && apt-get install -y git libpq5 \ + && apt-get install -y git libpq5 curl \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data diff --git a/docker/build_and_push_base.Dockerfile b/docker/build_and_push_base.Dockerfile index 9ec1cdb34..472470506 100644 --- a/docker/build_and_push_base.Dockerfile +++ b/docker/build_and_push_base.Dockerfile @@ -73,7 +73,7 @@ FROM python:3.12.3-slim AS runtime RUN apt-get update \ && apt-get upgrade -y \ - && apt-get install -y git libpq5 \ + && apt-get install -y git libpq5 curl \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data