-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[Installation]: Container image do not build Dockerfile.cpu #8502
Comments
The file was written against |
I would probably say it does, but as I do not work on buildah and don't have extensive knowledge on his capabilities I can't say. The problem here seems to really be a sidecase, as the I opened containers/buildah#5738 to draw some attention from the buildah team. (podman uses buildah to build the images). |
podman does not like RUN --mount with relative paths when WORKDIR is not set. fixes vllm-project#8502
This can be fixed by setting |
Your current environment
How you are installing vllm
We can see that in the
Dockerfile.cpu
we are mounting the requirement-*.txt filesvllm/Dockerfile.cpu
Line 29 in fc990f9
vllm/Dockerfile.cpu
Line 51 in fc990f9
vllm/Dockerfile.cpu
Line 52 in fc990f9
And while they are mounted, no absolute path is provided, leading to the error above.
Solution proposal
OR
+ WORKDIR / RUN --mount=type=cache,target=/root/.cache/pip \ --mount=type=bind,src=requirements-build.txt,target=requirements-build.txt \ pip install --upgrade pip && \ pip install -r requirements-build.txt
According to containers/buildah#4309 a WORKDIR must be defined to use a relative path for target. I opened an issue on the buildah side to have more information containers/buildah#5738
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: