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
fix: ./pubspec_overrides.yaml generated with \ on windows breaks docker build. #1116
Comments
Hi @djkingCanada! Thanks for submitting an issue. I would like to reproduce the issue. Can you provide an enumerated list of steps to reproduce this issue?
As a guess, this is probably related to the bundling process, you might want to take a look at the dart_frog_prod brick, see:
|
@alestiago: All I did was run the build on a windows machine, that produces a docker file with \ used in the file paths and then when you try to use that docker file to build a Linux image things break. |
I have the same issue. to reproduce the issue:
you will notice that we have
|
I'm on windows (.net legacy projects, sigh) and have a shared module between my server and client using the path option. The build tool generates a ./pubspec_overrides.yaml using '' in the path.
'' is the platform separator so I suspect this is coming from code that is trying to be platform independent. The problem is this breaks the docker build as a path with \ is not a valid Linux path.
I'm thinking this could be an issue on mac with ':' being the system separator (I haven't tested this). Maybe we need a way to specify the target separator for the process?
I'm willing to help with this if someone could give me a place to start looking.
The text was updated successfully, but these errors were encountered: