symfony-docker icon indicating copy to clipboard operation
symfony-docker copied to clipboard

bin/console is missing after install

Open 0x346e3730 opened this issue 3 years ago • 6 comments

Title says it all, with latest version of main.

image

0x346e3730 avatar Jun 22 '21 19:06 0x346e3730

Didn't replicated on Linux, happened on Windows.

I changed SKELETON: ${SKELETON:-symfony/skeleton} to SKELETON: ${SKELETON:-symfony/website-skeleton} and ran docker-compose build --pull --no-cache to install the website skeleton on Windows, something went wrong in the process.

0x346e3730 avatar Jun 22 '21 20:06 0x346e3730

I don't have a Window ready to reproduce the case. Can you check that the configuration of docker for window is correct ? It looks like a permission issue to create the file.

maxhelias avatar Aug 01 '21 19:08 maxhelias

Sorry for the naive answer but isn't because there is bin/* !bin/console

on lines 28/29 of .dockerignore ?

Nayte91 avatar Aug 18 '21 12:08 Nayte91

The .dockerignore file is there to optimize the ADD or COPY command during the build (https://docs.docker.com/engine/reference/builder/#dockerignore-file). The bin/console file is retrieved when creating the symfony skeleton in the build process with the symfony recipes.

maxhelias avatar Aug 18 '21 12:08 maxhelias

And the mounted volume here : https://github.com/dunglas/symfony-docker/blob/9d192405e001d802a9cd65dffdb5758345f660fa/docker-compose.override.yml#L8 recover the creation that was done on the container during the build on the local machine

maxhelias avatar Aug 18 '21 12:08 maxhelias

is this possibly the same as https://github.com/dunglas/symfony-docker/issues/231?

freiondrej-lmc avatar Apr 07 '22 14:04 freiondrej-lmc

I'm closing this issue because it is impossible for us to reproduce this problem. Anyway it seems to be more related to the window file management

maxhelias avatar Sep 16 '22 09:09 maxhelias