If I want to build a docker image with a wheel (co...
# general
m
If I want to build a docker image with a wheel (considering that I use a custom version plugin), how would I copy that wheel?
Using
docker_image
(not sure if it was obvious)
c
Add a dependency on the
python_distribution
from your
docker_image
, that should place your
.whl
in the docker build context for your image.
Currently, I’d recommend running
package
for the docker image with
--no-process-execution-local-cleanup
in order to figure out where that wheel is placed.
Oh, I assumed that you build that wheel, if it is a 3rdparty dep, I’m not really sure what the answer is…
not sure if it was obvious
I would’ve assumed so (so maybe obvious 😉 )
m
I build that wheel.
👍 1
docker_image(name="n20", dependencies=["src/python/n20:wheel"])
But the wheel generated is something like
n20.<changes_frequently>.whl
nvm, it worked
🙌 1
thanks