Skip to content
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

How to debug build command? #1922

Closed
heckad opened this issue Dec 26, 2020 · 1 comment
Closed

How to debug build command? #1922

heckad opened this issue Dec 26, 2020 · 1 comment

Comments

@heckad
Copy link

heckad commented Dec 26, 2020

I want to install a package in my container using setup.py file. I did it by

RUN --mount=type=bind python setup.py install

but got

python: can't open file '/home/app/setup.py': [Errno 2] No such file or directory

I use windows 10 os with Docker version 20.10.0, build 7287ab3 running in wsl.

@tonistiigi
Copy link
Member

We're trying to improve this in #1472

Atm, to debug mounts I'd recommend just running ls and mount to see that all files you expect are there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants