Join Slack
Powered by
<#2338 Remove docker from flytekit> Pull request o...
# flyte-github
a
acoustic-carpenter-78188
04/02/2025, 5:03 PM
#2338 Remove docker from flytekit
Pull request opened by
Future-Outlier
## Tracking issue
https://github.com/flyteorg/flyte/issues/
## Why are the changes needed? ## What changes were proposed in this pull request? ## How was this patch tested? ### Setup process pyflyte run --remote dict_keys.py workflow FROM python:3.9-slim-buster USER root WORKDIR /root ENV PYTHONPATH /root RUN apt-get update && apt-get install build-essential -y RUN apt-get install git -y # The following line is an example of how to install your modified plugins. In this case, it demonstrates how to install the 'deck' plugin. # RUN pip install -U git+
https://github.com/Yicheng-Lu-llll/flytekit.git@"demo#egg=flytekitplugins-deck-standard&subdirectory=plugins/flytekit-deck-standard"
# replace with your own repo and branch # RUN pip install -U git+
https://github.com/Future-Outlier/flytekit.git@98ddd542a02551a9a9eb122b98004d0d092abbe9#subdirectory=plugins/flytekit-kf-tensorflow
# RUN pip install -U git+
https://github.com/Future-Outlier/flyte.git@647b8f4eeeab1a65866d19fab13c416ed0e4a07f#subdirectory=flyteidl
# RUN pip install flyteidl --pre RUN pip install -U git+
https://github.com/flyteorg/flytekit.git@1052a58ccd337351029bcfe3975e240ad943ce5c
import typing from flytekit import ImageSpec, task, workflow image="localhost
30000/flytekit
docker-1032" @task(container_image=image) def create_dict() -> typing.Dict[int, float]: sample_dict = {1: 1.1, 2: 2.2, 3: 3.3} print(sample_dict.keys()) return sample_dict @task(container_image=image) def process_dict(input_dict: typing.Dict[int, float]): print(input_dict.keys()) @workflow def workflow() -> None: dict_created = create_dict() process_dict(input_dict=dict_created) ### Screenshots
[image](https://private-user-images.githubusercontent.com/76461262/321169112-fbb977b0-eee3-4ede-b078-d5ce757315e7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDM2MTM2OTgsIm5iZiI6MTc0MzYxMzM5OCwicGF0aCI6Ii83NjQ2MTI2Mi8zMjExNjkxMTItZmJiOTc3YjAtZWVlMy00ZWRlLWIwNzgtZDVjZTc1NzMxNWU3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDAyVDE3MDMxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU3ZjJmNDZiZjk2NGE5ZGY5NGFkNGE5NTE3MTkwNjUyZGIzNzAwM2I0ODM1Nzg4OGM4ZmUxOTYzNDkyZmE3YWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F8N3UzVMTxBWh63_Uyk-HtZfnavk9xtuwbMMI1nYuH8)
## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link
flyteorg/flytekit
c
cuddly-jelly-27016
04/02/2025, 5:03 PM
#2338 Remove docker from flytekit
Pull request closed by
Future-Outlier
flyteorg/flytekit
2
Views
Open in Slack
Previous
Next