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

Dockerfile not found at docker build #71

Closed
JohanHardy opened this issue Oct 17, 2023 · 2 comments · Fixed by #80
Closed

Dockerfile not found at docker build #71

JohanHardy opened this issue Oct 17, 2023 · 2 comments · Fixed by #80

Comments

@JohanHardy
Copy link

Bug Description: The root Dockerfile collides with the dockerfile folder under windows. At docker build -t, the dockerfile is not found. Workaround is to build within WSL.

Steps to Reproduce:

  1. Using docker desktop for windows
  2. go to the repo location
  3. execute the documented docker build

Additional Information

  • Operating System: Windows MS
  • Theia Version: n/a
@sdirix
Copy link
Member

sdirix commented Oct 23, 2023

Thanks for the report. We'll take a look at this, should be relatively straightforward to rename the directory.

@sgraband
Copy link
Contributor

sgraband commented Dec 14, 2023

The issue is that on Windows the path <repo>/Dockerfile (file in root) and <repo>/dockerfile (folder in root) are treated the same. Hence when copying or cloning the project the dockerfile folder is not created.

I will provide a PR where i rename everything accordingly and update the documentation.

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