Skip to content

Commit f7b19e1

Browse files
committed
use uv instead of pip for installs
1 parent 297a98c commit f7b19e1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

airbyte_cdk/utils/docker.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
2727
COPY {connector_snake_name} ./{connector_snake_name}
2828
{extra_build_steps}
2929
30-
# RUN pip install --no-cache-dir uv
30+
# TODO: Pre-install uv on the base image to speed up the build.
31+
# (uv is still faster even with the extra step.)
32+
RUN pip install --no-cache-dir uv
3133
32-
RUN python -m pip install --no-cache-dir .
34+
RUN python -m uv pip install --no-cache-dir .
3335
3436
FROM {base_image}
3537

0 commit comments

Comments
 (0)