From e2847f0c4457016a1fc52cf18f284cf4c7b7a1cc Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Tue, 4 Jun 2024 03:53:48 +0800 Subject: [PATCH 1/2] Add . to the PYTHONPATH in ImageSpec (#2447) Signed-off-by: Kevin Su --- plugins/flytekit-envd/flytekitplugins/envd/image_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/flytekit-envd/flytekitplugins/envd/image_builder.py b/plugins/flytekit-envd/flytekitplugins/envd/image_builder.py index 59b8ca07eb..344003bafd 100644 --- a/plugins/flytekit-envd/flytekitplugins/envd/image_builder.py +++ b/plugins/flytekit-envd/flytekitplugins/envd/image_builder.py @@ -91,7 +91,7 @@ def create_envd_config(image_spec: ImageSpec) -> str: run_commands = _create_str_from_package_list(image_spec.commands) conda_channels = _create_str_from_package_list(image_spec.conda_channels) apt_packages = _create_str_from_package_list(image_spec.apt_packages) - env = {"PYTHONPATH": "/root", _F_IMG_ID: image_spec.image_name()} + env = {"PYTHONPATH": "/root:", _F_IMG_ID: image_spec.image_name()} if image_spec.env: env.update(image_spec.env) From 4a88d113f73bde2cdb4a6eeb284ae0939e275c4f Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:16:56 -0700 Subject: [PATCH 2/2] Remove pod-plugin and scikit-learn from official docker image (#2455) Signed-off-by: Eduardo Apolinario Co-authored-by: Eduardo Apolinario --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a20d8aefa..d9c113c9f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,9 +23,7 @@ ARG DOCKER_IMAGE RUN apt-get update && apt-get install build-essential -y \ && pip install uv \ && uv pip install --system --no-cache-dir -U flytekit==$VERSION \ - flytekitplugins-pod==$VERSION \ flytekitplugins-deck-standard==$VERSION \ - scikit-learn \ && apt-get clean autoclean \ && apt-get autoremove --yes \ && rm -rf /var/lib/{apt,dpkg,cache,log}/ \