beta9 icon indicating copy to clipboard operation
beta9 copied to clipboard

mount beam & beta9 to site-packages as well

Open dleviminzi opened this issue 1 year ago • 2 comments

This PR adds additional mounts to the base runc config so that beam and beta9 are placed in site-packages as well as dist-packages.

dleviminzi avatar Aug 21 '24 20:08 dleviminzi

@dleviminzi This makes sense. Couple of questions though. What specific use case/issue does this solve and have you tested with custom images e.g. pulling something from ECR?

nickpetrovic avatar Aug 22 '24 15:08 nickpetrovic

@dleviminzi This makes sense. Couple of questions though. What specific use case/issue does this solve and have you tested with custom images e.g. pulling something from ECR?

This fixes issues with base python images. They only look at site-packages. I suspect some other images might behave similarly. For instance, using what's below for the base image wont work right now:

FROM python:3.10

ADD req.txt ./

RUN pip install --no-cache-dir --upgrade pip --progress-bar off \
    && pip install --no-cache-dir --progress-bar off -r req.txt

dleviminzi avatar Aug 22 '24 15:08 dleviminzi