[devcontainer] seed shell history

This commit is contained in:
Shish 2024-02-21 21:56:03 +00:00 committed by Shish
parent 555d82b590
commit d3352f1563
2 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,5 @@
./vendor/bin/php-cs-fixer fix && ./vendor/bin/phpunit --config tests/phpunit.xml && ./vendor/bin/phpstan analyse --memory-limit 1G -c tests/phpstan.neon
./vendor/bin/php-cs-fixer fix
./vendor/bin/phpunit --config tests/phpunit.xml
./vendor/bin/phpstan analyse --memory-limit 1G -c tests/phpstan.neon
php ./.docker/run.php

View file

@ -22,12 +22,13 @@
"onAutoForward": "silent"
},
"updateContentCommand": "composer install",
"updateContentCommand": "composer install && cp ./.devcontainer/bash_history /root/.bash_history",
"postCreateCommand": "./.docker/entrypoint.sh php ./.docker/run.php",
"containerEnv": {
"UID": "2000",
"GID": "2000",
"INSTALL_DSN": "sqlite:data/shimmie.dev.sqlite"
"INSTALL_DSN": "sqlite:data/shimmie.dev.sqlite",
"HISTFILE": "/root/.bash_history"
},
"customizations": {
"vscode": {