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

Expansion of paths in Dockerfile under Windows #3

Closed
noprd opened this issue Aug 28, 2024 · 1 comment
Closed

Expansion of paths in Dockerfile under Windows #3

noprd opened this issue Aug 28, 2024 · 1 comment

Comments

@noprd
Copy link
Owner

noprd commented Aug 28, 2024

The $WORKDIR variable is expanding to C:/Program Files/Git/usr/home/<name of app> instead of /usr/home/<name of app>.

This needs to be prevented.

@noprd
Copy link
Owner Author

noprd commented Aug 28, 2024

This occurs on the Git Bash console
as is a known issue, see https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md.

To solve this, it suffices to replace the path by //usr/home/.... This prevents the expansion. Alternatively, one can update the Git Bash console.

@noprd noprd closed this as completed Aug 28, 2024
This was referenced Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant