diff options
| author | heqnx <root@heqnx.com> | 2025-05-17 15:34:54 +0300 | 
|---|---|---|
| committer | heqnx <root@heqnx.com> | 2025-05-17 15:34:54 +0300 | 
| commit | 29dcb7386165da7536f0f8729a160e84994ae9f9 (patch) | |
| tree | f682b8c001ea3607cf834a695dc9f3d21d158a91 | |
| parent | 220d24c90d088913ce1667167e808dbb2879771c (diff) | |
| download | SharpAMSIGhosting-29dcb7386165da7536f0f8729a160e84994ae9f9.tar.gz SharpAMSIGhosting-29dcb7386165da7536f0f8729a160e84994ae9f9.zip | |
added check for docker
| -rwxr-xr-x | build.sh | 5 | 
1 files changed, 5 insertions, 0 deletions
| @@ -1,6 +1,11 @@  #!/bin/bash  set -e +if ! command -v docker; then +    printf "%s\n" "[err] docker not found" +    exit 1 +fi +  repo_name=$( basename -s .git $(git remote get-url origin) )  docker run --rm -it -v $(pwd):/app -w /app mono:latest bash -c ' |