REL-0.9 Adding docker entering scripts

This commit is contained in:
cytopia 2017-05-06 11:16:12 +02:00
parent ff39de09ef
commit 04c079c625
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
2 changed files with 8 additions and 0 deletions

4
bash.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
CWD="/shared/httpd"
docker-compose exec --user devilbox php env TERM=xterm /bin/sh -c "cd ${CWD}; exec bash -l"

4
root_bash.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
CWD="/shared/httpd"
docker-compose exec --user root php env TERM=xterm /bin/sh -c "cd ${CWD}; exec bash -l"