Making composer, artisan, unzip available inside container

This commit is contained in:
Torsten 2023-09-29 09:11:34 +02:00
parent 2a036bd3a7
commit 0d5a612a99
4 changed files with 507 additions and 675 deletions

1177
motorradig/composer.lock generated

File diff suppressed because it is too large Load diff

BIN
motorradig/composer.phar Normal file → Executable file

Binary file not shown.

4
motorradig/install_composer.sh Executable file
View 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
View file

@ -0,0 +1 @@
docker exec -it `docker ps|grep app|awk '{print $1}'` bash