<#1926 Docker plugin> Pull request opened by <danp...
# flyte-github
a
#1926 Docker plugin Pull request opened by danpf TL;DR Add a plugin to build imagespec using a docker buildx driver/builder Type ☐ Bug Fix ☐ Feature ☑︎ Plugin Are all requirements met? ☑︎ Code completed ☐ Smoke tested ☑︎ Unit tests added ☑︎ Code documentation added ☐ Any pending items have an associated Issue Complete description This is a quick pass at a docker / buildkit builder for flytekit. Basically, this plugin provides an alternative interface to ImageSpec which will allow the usage of preexisting Dockerfiles that may be too complex to recreate with envd. ImageSpec itself seems very tailored to envd, so I'm not sure if this is the best way to go about adding this functionality. Notable changes • flytekit/remote/remote.py • alter task-id (version) based on ImageSpec • Because of how images are built/checked for existence i have to resort to some hacks that I don't think should make it into the final PR. See horrible_horrible_hack in
plugins/flytekit-docker/flytekitplugins/docker/image_builder.py
Because of this, It will likely require a deeper discussion with the team before merging ☐ Need to create requirements.txt file correctly (getting weird errors) ☐ Test the buildkit_build_extra_output option ☐ Check if it Is it possible to test this further with the current infrastructure ☑︎ Check that it works

image▾

flyteorg/flytekit ✅ All checks have passed 2/2 successful checks