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

Create tasks breaks the container #138

Open
stucki opened this issue Jul 11, 2016 · 2 comments
Open

Create tasks breaks the container #138

stucki opened this issue Jul 11, 2016 · 2 comments

Comments

@stucki
Copy link
Contributor

stucki commented Jul 11, 2016

Running make create typo3 deletes the folder app/ before it's created again.
This breaks further execution of make bash etc. because the folder is now found at a different inode:

$ git:(master) ✗  make bash    
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
application@ac32b1160390:.$ 
@stucki
Copy link
Contributor Author

stucki commented Jul 11, 2016

My suggestion is to replace

rm -rf -- "$CODE_DIR"

with

rm -f -- "$CODE_DIR/.gitkeep"
rm -rf -- "$CODE_DIR/web/"

@tbal
Copy link
Contributor

tbal commented Jan 22, 2017

Quick workaround which does not need code manipulation: docker-compose restart

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

2 participants