diff --git a/python_modules/automation/automation/docker/images/dagster-celery-k8s-editable/Dockerfile b/python_modules/automation/automation/docker/images/dagster-celery-k8s-editable/Dockerfile index e98552cd8bdc6..c6e0f61c2427a 100644 --- a/python_modules/automation/automation/docker/images/dagster-celery-k8s-editable/Dockerfile +++ b/python_modules/automation/automation/docker/images/dagster-celery-k8s-editable/Dockerfile @@ -4,9 +4,8 @@ FROM "${BASE_IMAGE}" ARG DAGSTER_VERSION COPY build_cache/ / -ENV VIRTUAL_ENV=/usr/local RUN pip install -U uv -RUN uv pip install \ +RUN python -m uv pip install \ -e dagster \ -e dagster-pipes \ -e dagster-graphql \ diff --git a/python_modules/automation/automation/docker/images/dagster-celery-k8s/Dockerfile b/python_modules/automation/automation/docker/images/dagster-celery-k8s/Dockerfile index 600c1b09df192..1778af2e83cce 100644 --- a/python_modules/automation/automation/docker/images/dagster-celery-k8s/Dockerfile +++ b/python_modules/automation/automation/docker/images/dagster-celery-k8s/Dockerfile @@ -5,9 +5,8 @@ ARG DAGSTER_VERSION # All packages are hard-pinned to `dagster`, so setting the version on just `DAGSTER` will ensure # compatible versions. -ENV VIRTUAL_ENV=/usr/local RUN pip install -U uv -RUN uv pip install \ +RUN python -m uv pip install \ dagster==${DAGSTER_VERSION} \ dagster-azure \ dagster-postgres \ diff --git a/python_modules/automation/automation/docker/images/dagster-k8s-editable/Dockerfile b/python_modules/automation/automation/docker/images/dagster-k8s-editable/Dockerfile index 2eb228c80cae4..afcf20b2a5f3e 100644 --- a/python_modules/automation/automation/docker/images/dagster-k8s-editable/Dockerfile +++ b/python_modules/automation/automation/docker/images/dagster-k8s-editable/Dockerfile @@ -4,9 +4,8 @@ FROM "${BASE_IMAGE}" ARG DAGSTER_VERSION COPY build_cache/ / -ENV VIRTUAL_ENV=/usr/local RUN pip install -U uv -RUN uv pip install \ +RUN python -m uv pip install \ -e dagster \ -e dagster-pipes \ -e dagster-graphql \ diff --git a/python_modules/automation/automation/docker/images/dagster-k8s/Dockerfile b/python_modules/automation/automation/docker/images/dagster-k8s/Dockerfile index 73ddf2361f97f..99074968bcc84 100644 --- a/python_modules/automation/automation/docker/images/dagster-k8s/Dockerfile +++ b/python_modules/automation/automation/docker/images/dagster-k8s/Dockerfile @@ -5,9 +5,8 @@ ARG DAGSTER_VERSION # All packages are hard-pinned to `dagster`, so setting the version on just `DAGSTER` will ensure # compatible versions. -ENV VIRTUAL_ENV=/usr/local RUN pip install -U uv -RUN uv pip install \ +RUN python -m uv pip install \ dagster==${DAGSTER_VERSION} \ dagster-azure \ dagster-postgres \ diff --git a/python_modules/automation/automation/docker/images/user-code-example/Dockerfile b/python_modules/automation/automation/docker/images/user-code-example/Dockerfile index 8e196d22e5a9a..2aad73da86745 100644 --- a/python_modules/automation/automation/docker/images/user-code-example/Dockerfile +++ b/python_modules/automation/automation/docker/images/user-code-example/Dockerfile @@ -5,9 +5,8 @@ ARG DAGSTER_VERSION # All packages are hard-pinned to `dagster`, so setting the version on just `DAGSTER` will ensure # compatible versions. -ENV VIRTUAL_ENV=/usr/local RUN pip install -U uv -RUN uv pip install \ +RUN python -m uv pip install \ dagster==${DAGSTER_VERSION} \ dagster-postgres \ dagster-aws \ diff --git a/python_modules/dagster-test/Dockerfile b/python_modules/dagster-test/Dockerfile index 975b1ab0e759a..4cbf7918c3c74 100644 --- a/python_modules/dagster-test/Dockerfile +++ b/python_modules/dagster-test/Dockerfile @@ -12,11 +12,10 @@ ENV DAGSTER_DISABLE_TELEMETRY=true # This makes sure that logs show up immediately instead of being buffered ENV PYTHONUNBUFFERED=1 -ENV VIRTUAL_ENV=/usr/local RUN pip install -U uv # dagster-celery specified twice to deal with pip resolution in pip 20.3.3 when only # extras are specified -RUN uv pip install \ +RUN python -m uv pip install \ -e modules/dagster \ -e modules/dagster-graphql \ -e modules/dagster-celery \