Files
hdk-core/scripts/docker-env.sh
2023-10-16 17:31:24 +08:00

12 lines
290 B
Bash
Executable File

#!/usr/bin/env sh
docker run \
--pull always \
-e COMPOSER_ALLOW_SUPERUSER=1 \
-ti --rm --name "hdk-core" \
-w "/srv/www" \
-v "$(pwd)":/srv/www \
-v ~/.ssh:/root/.ssh \
-v ~/.gitconfig:/root/.gitconfig \
harbor.luxcreo.cn/library/hyperf:8.1-swoole /bin/ash