From 949744dd83aff1fcd2c00804929e5e4737e89f24 Mon Sep 17 00:00:00 2001 From: Anna Geller Date: Sat, 16 Nov 2024 23:18:16 +0100 Subject: [PATCH] feat: add uv to default images --- dockerfiles/aws.Dockerfile | 2 +- dockerfiles/awsbatch.Dockerfile | 2 +- dockerfiles/duckdb.Dockerfile | 2 +- dockerfiles/kestrapy.Dockerfile | 2 +- dockerfiles/modal.Dockerfile | 2 +- dockerfiles/polars.Dockerfile | 2 +- dockerfiles/product-automations.Dockerfile | 2 +- dockerfiles/pydata.Dockerfile | 2 +- dockerfiles/sqlmesh.Dockerfile | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dockerfiles/aws.Dockerfile b/dockerfiles/aws.Dockerfile index c73dcb4..868df44 100644 --- a/dockerfiles/aws.Dockerfile +++ b/dockerfiles/aws.Dockerfile @@ -1,5 +1,5 @@ FROM python:3.11-slim LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image with the latest pandas, requests and scikit-learn Python packages" -RUN pip install --no-cache-dir kestra pandas requests scikit-learn pyarrow awswrangler loguru amazon-ion +RUN pip install --no-cache-dir uv kestra pandas requests scikit-learn pyarrow awswrangler loguru amazon-ion RUN pip install --no-cache-dir faker \ No newline at end of file diff --git a/dockerfiles/awsbatch.Dockerfile b/dockerfiles/awsbatch.Dockerfile index 57b8eea..e7d6a40 100644 --- a/dockerfiles/awsbatch.Dockerfile +++ b/dockerfiles/awsbatch.Dockerfile @@ -1,4 +1,4 @@ FROM python:3.11-slim LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image with the latest pandas, requests and scikit-learn Python packages" -RUN pip install --no-cache-dir kestra pandas requests scikit-learn pyarrow awswrangler loguru amazon-ion awscli +RUN pip install --no-cache-dir uv kestra pandas requests scikit-learn pyarrow awswrangler loguru amazon-ion awscli diff --git a/dockerfiles/duckdb.Dockerfile b/dockerfiles/duckdb.Dockerfile index 952adaf..917444a 100644 --- a/dockerfiles/duckdb.Dockerfile +++ b/dockerfiles/duckdb.Dockerfile @@ -1,5 +1,5 @@ FROM python:3.11-slim LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image with DuckDB, requests, PyArrow and Pandas Python packages" -RUN pip install --no-cache-dir kestra requests faker pyarrow pandas duckdb loguru amazon-ion +RUN pip install --no-cache-dir uv kestra requests faker pyarrow pandas duckdb loguru amazon-ion RUN pip install --no-cache-dir faker diff --git a/dockerfiles/kestrapy.Dockerfile b/dockerfiles/kestrapy.Dockerfile index d463ba9..0943d01 100644 --- a/dockerfiles/kestrapy.Dockerfile +++ b/dockerfiles/kestrapy.Dockerfile @@ -1,4 +1,4 @@ FROM python:3.11-alpine LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image with the latest Kestra Python package and loguru logger" -RUN pip install --no-cache-dir kestra loguru amazon-ion +RUN pip install --no-cache-dir uv kestra loguru amazon-ion diff --git a/dockerfiles/modal.Dockerfile b/dockerfiles/modal.Dockerfile index 17c8672..8a47316 100644 --- a/dockerfiles/modal.Dockerfile +++ b/dockerfiles/modal.Dockerfile @@ -1,4 +1,4 @@ FROM python:3.11-slim LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image with the latest modal-client Python package" -RUN pip install --no-cache-dir kestra modal loguru amazon-ion +RUN pip install --no-cache-dir uv kestra modal loguru amazon-ion diff --git a/dockerfiles/polars.Dockerfile b/dockerfiles/polars.Dockerfile index e85408b..4f13dac 100644 --- a/dockerfiles/polars.Dockerfile +++ b/dockerfiles/polars.Dockerfile @@ -2,4 +2,4 @@ FROM python:3.10 LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image with the latest Polars package and all its extensions" RUN pip install --upgrade pip -RUN pip install --no-cache-dir kestra requests "polars[all]" loguru amazon-ion faker +RUN pip install --no-cache-dir uv kestra requests "polars[all]" loguru amazon-ion faker diff --git a/dockerfiles/product-automations.Dockerfile b/dockerfiles/product-automations.Dockerfile index 0c5ff8f..f21a681 100644 --- a/dockerfiles/product-automations.Dockerfile +++ b/dockerfiles/product-automations.Dockerfile @@ -1,4 +1,4 @@ FROM python:3.11-slim LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image for the Product Automations" -RUN pip install --no-cache-dir requests kestra markdown2 beautifulsoup4 ruamel.yaml --no-warn-script-location \ No newline at end of file +RUN pip install --no-cache-dir uv requests kestra markdown2 beautifulsoup4 ruamel.yaml --no-warn-script-location \ No newline at end of file diff --git a/dockerfiles/pydata.Dockerfile b/dockerfiles/pydata.Dockerfile index 80dbc6d..ea62fe1 100644 --- a/dockerfiles/pydata.Dockerfile +++ b/dockerfiles/pydata.Dockerfile @@ -2,5 +2,5 @@ FROM python:3.11-slim LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image with the latest Python packages including pandas, requests, scikit-learn, faker, pyarrow, sqlalchemy, openai" RUN pip install --upgrade pip -RUN pip install --no-cache-dir kestra pandas requests scikit-learn faker pyarrow sqlalchemy openai loguru amazon-ion +RUN pip install --no-cache-dir uv kestra pandas requests scikit-learn faker pyarrow sqlalchemy openai loguru amazon-ion RUN pip install --no-cache-dir faker diff --git a/dockerfiles/sqlmesh.Dockerfile b/dockerfiles/sqlmesh.Dockerfile index 7560134..2317f17 100644 --- a/dockerfiles/sqlmesh.Dockerfile +++ b/dockerfiles/sqlmesh.Dockerfile @@ -2,5 +2,5 @@ FROM python:3.11-slim LABEL org.opencontainers.image.source=https://github.com/kestra-io/examples LABEL org.opencontainers.image.description="Image with the latest SQLMesh package and related extensions" RUN pip install --upgrade pip -RUN pip install --no-cache-dir kestra loguru amazon-ion sqlmesh +RUN pip install --no-cache-dir uv kestra loguru amazon-ion sqlmesh RUN pip install --no-cache-dir "sqlmesh[dbt,bigquery,snowflake]"