Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Composer script "docker:build" fails on Windows #743

Open
FantomX1 opened this issue Mar 3, 2020 · 1 comment
Open

Composer script "docker:build" fails on Windows #743

FantomX1 opened this issue Mar 3, 2020 · 1 comment

Comments

@FantomX1
Copy link

FantomX1 commented Mar 3, 2020

'cp' is not recognized as an internal or external command,
operable program or batch file.
Script cp .env.dist .env handling the build:env event returned with error code 1
Script @build:env was called via docker:build

it is because normally the command cp is not available at Ms Windows operation system, i wonder if this should be somehow specially handled for different operating systems
but as a temporal workaround at windows, one has to have installed some linux tools, cli tools
or change the scripts->build:env to contain the copy command instead of the cp command

@XzAeRo
Copy link
Member

XzAeRo commented Mar 31, 2020

Currently we have no plans to include direct windows support for the composer/docker scripts. We are open for pull request though.

@XzAeRo XzAeRo changed the title Issue installing on docker on windows 'cp' is not recognized .. event returned with error code 1 Composer script "docker:build" fails on Windows Mar 31, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants