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

Fix local docker-compose support on Windows10 #863

Merged
merged 2 commits into from
Sep 12, 2018
Merged

Conversation

kiview
Copy link
Member

@kiview kiview commented Sep 10, 2018

Local Docker-Compose was failing on Windows10 because of different, path related, problems.

Also note that the COMPOSE_FILE environment variable uses system specific path separators:

The COMPOSE_FILE environment variable can now contain multiple files, separated by the host system's standard path separator 🙂 on Mac/Linux, ; on Windows).

.collect(toList());
final String composeFileEnvVariableValue = absoluteDockerComposeFiles.stream().collect(joining(UNIX_PATH_SEPERATOR + "")); // we always need the UNIX path separator

final String composeFileEnvVariableValue = absoluteDockerComposeFiles.stream()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since absoluteDockerComposeFiles is a stream already, probably makes sense to not collect it into List before joining

@bsideup bsideup added this to the next milestone Sep 12, 2018
@kiview kiview merged commit 31bde6a into master Sep 12, 2018
@kiview kiview deleted the fix-win10-local-compose branch September 12, 2018 09:40
@rnorth
Copy link
Member

rnorth commented Sep 21, 2018

Released for preview in 1.9.0-rc2, to be published on Bintray.

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

Successfully merging this pull request may close these issues.

None yet

3 participants