mirror of
http://124.126.16.154:8888/singularity/hdk-skeleton.git
synced 2026-01-15 05:35:07 +08:00
feat(installer): 初始化了脚本
This commit is contained in:
10
scripts/docker-env.sh
Normal file → Executable file
10
scripts/docker-env.sh
Normal file → Executable file
@@ -1,11 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
docker run \
|
||||
--pull always \
|
||||
-ti --rm --name "{{project_name}}" \
|
||||
--privileged -u root \
|
||||
-w "/srv/www" \
|
||||
-v "$(pwd)":/srv/www \
|
||||
-v ~/.ssh:/root/.ssh \
|
||||
-p {{port}}:9501 \
|
||||
harbor.luxcreo.cn/library/hyperf:8.1-swoole /bin/ash
|
||||
sh -c "$(pwd)"/installer/resources/scripts/docker-env.sh
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
docker run --rm -it \
|
||||
-v $(pwd):/app -e "GIT_AUTHOR_NAME=ch4o5" -e "EMAIL=dongyun.li@luxcreo.ai" \
|
||||
detouched/standard-version:latest $1
|
||||
-v "$(pwd)":/app -e "GIT_AUTHOR_NAME=$(git config user.name)" -e "EMAIL=$(git config user.email)" \
|
||||
detouched/standard-version:latest "$1"
|
||||
|
||||
Reference in New Issue
Block a user