-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flyin Dockerfile #1990
Flyin Dockerfile #1990
Conversation
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1990 +/- ##
=======================================
Coverage 86.15% 86.15%
=======================================
Files 316 316
Lines 23330 23330
Branches 3457 3457
=======================================
+ Hits 20099 20101 +2
+ Misses 2639 2638 -1
+ Partials 592 591 -1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Signed-off-by: Future Outlier <[email protected]>
…nto add-flyin-dockerfile-default-install Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
thanks for the amazing work! this can make using flyin very easy. |
Signed-off-by: Future Outlier <[email protected]>
ede3184
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
plugins/flytekit-flyin/Dockerfile
Outdated
ENV PYTHONPATH /root | ||
|
||
ARG VERSION | ||
ARG BUILDARCH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be TARGETARCH
instead (as per the docker docs). We want the architecture that we're building this image for, not the arch of the node building it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right!
Thank you really much!!!
…nto add-flyin-dockerfile-default-install
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
push: ${{ github.event_name == 'release' }} | ||
tags: ${{ steps.flyin-names.outputs.tags }} | ||
build-args: | | ||
VERSION=${{ needs.deploy.outputs.version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we missed the python version here (like this). Do we need to have multiple versions of python in this image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is causing an issue in releases: https://github.com/flyteorg/flytekit/actions/runs/7108516439/workflow#L142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no problem, thanks a lot!
Signed-off-by: Future Outlier <[email protected]> Co-authored-by: Future Outlier <[email protected]> Signed-off-by: Rafael Raposo <[email protected]>
Tracking issue
flyteorg/flyte#4284
Check all the applicable boxes
Setup Process
Dockerfile
For amd64
For arm64
Screenshots
Image
amd64
arm64
We skiped the code server download process.
We can use the extension by the dockerfile, not download in the runtime.