This repository has been archived by the owner on Feb 15, 2025. It is now read-only.
make build-gpu fails on WSL2 without Docker Desktop #844
Labels
possible-bug 🐛
Something may not be working
See linked branch for updates to Dockerfiles
Environment
Host Device and OS:
WSL2:
App/package versions:
Kubernetes distro being used:
Other:
main
Steps to reproduce
Expected result
Should build all the packages in the makefile for GPU
Actual Result
Visual Proof (screenshots, videos, text, etc)
Update
Dockerfile.migrations
to hardcodeTARGETPLATFORM
Execute
make build-gpu LOCAL_VERSION=dev
Modify
packages/vllm/dockerfile
to remove all instances ofnonroot
and useUSER 65532
instead.Execute
make build-gpu LOCAL_VERSION=dev
Get an error about trying to copy into multiple files/directories in
packages/whisper/Dockerfile
.Modify
COPY --from=ffmpeg /usr/lib/lib* /usr/lib
toCOPY --from=ffmpeg /usr/lib/lib* /usr/lib/
Build then works.
Severity/Priority
Low/Low
Additional Context
WSL2 has been successfully tested by @gphorvath. The only difference we can tell so far is that he is using Docker Desktop and I am not. I only have docker engine.
Docker buildx is installed in WSL2 too.
The text was updated successfully, but these errors were encountered: