Closed whereisaaron closed 5 years ago
i wonder if it's because of permission or content. @whereisaaron do you mind pasting the permission/owner and content of your dockerfile?
@yiranwang52 I have the same problem on kubernetes, permission 7777. The dockerfile works with docker. I use absolute path for the dockerfile and context.
EDIT: Ok I found the problem. I used -f /dir
instead of -f=/dir
, a space gets added and path.Join
in makisu/cmd/utils.go
return wrong path....
@yiranwang52 I investigated this further and I believe this is not a makisu
problem. Rather is caused by a docker mounting issues when using Docker on Windows 10/WSL. I could get the function working on a pure Linux host.
Moving the Dockerfile into the Docker for Windows shared drive didn't help either. Seems like you can't have bash
and be able to mount volumes at the same time 😢
Keen to test makisu, I am trying the example bash function from the README but it always says 'Dockerfile not found', even though the Dockerfile is right there. Am I missing something?