build(script): root 用户可以使用 composer

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
李东云
2023-10-16 17:31:24 +08:00
parent 217178003a
commit 12e99604c9
2 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,8 @@
docker run \
--pull always \
-ti --rm --name "hyperf-development-kit" \
-e COMPOSER_ALLOW_SUPERUSER=1 \
-ti --rm --name "hdk-core" \
-w "/srv/www" \
-v "$(pwd)":/srv/www \
-v ~/.ssh:/root/.ssh \