Making composer, artisan, unzip available inside container
This commit is contained in:
parent
2a036bd3a7
commit
0d5a612a99
4 changed files with 507 additions and 675 deletions
1177
motorradig/composer.lock
generated
1177
motorradig/composer.lock
generated
File diff suppressed because it is too large
Load diff
BIN
motorradig/composer.phar
Normal file → Executable file
BIN
motorradig/composer.phar
Normal file → Executable file
Binary file not shown.
4
motorradig/install_composer.sh
Executable file
4
motorradig/install_composer.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
|
||||
php composer-setup.php
|
||||
php -r "unlink('composer-setup.php');"
|
||||
1
motorradig/shell.sh
Executable file
1
motorradig/shell.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
docker exec -it `docker ps|grep app|awk '{print $1}'` bash
|
||||
Loading…
Add table
Add a link
Reference in a new issue