From 11131631db3b12bf5bbe3eb38b6a8d7250ec676b Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Wed, 14 Feb 2024 12:46:31 -0800 Subject: [PATCH] Update image definition (#47) Signed-off-by: Kevin Su --- .../workflows/example.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/basic-template-imagespec/{{cookiecutter.project_name}}/workflows/example.py b/basic-template-imagespec/{{cookiecutter.project_name}}/workflows/example.py index f4c15d8..06e27c7 100644 --- a/basic-template-imagespec/{{cookiecutter.project_name}}/workflows/example.py +++ b/basic-template-imagespec/{{cookiecutter.project_name}}/workflows/example.py @@ -20,13 +20,11 @@ """ # image_definition = ImageSpec( -# name="basic-example", # rename this to your docker image name -# # the base image that flytekit will use to build your image -# base_image="ghcr.io/flyteorg/flytekit:py3.11-1.10.2", -# packages=["flytekit>=1.6.0"], # packages to add to the base image -# registry="ghcr.io/unionai-oss", # registry your image will be pushed to -# # the python version; optional if not different from the base image -# python_version="3.11" +# name="flytekit", # default docker image name. +# base_image="ghcr.io/flyteorg/flytekit:py3.11-1.10.2", # the base image that flytekit will use to build your image. +# packages=["pandas"], # python packages to install. +# registry="ghcr.io/unionai-oss", # the registry your image will be pushed to. +# python_version="3.11" # Optional if python is installed in the base image. # )