我有一个dotnet核心应用程序,其中包含dockerfile。我有一个在Docker容器中运行的jenkins安装程序。我已经使用docker build命令为dotnet core应用程序创建了一个构建作业,传递了如下所示的必需参数
docker build -t ghkonline:${build_version} [dir_to_dockerfile_in_repo]
运行版本会出现以下错误
17:03:28 /tmp/jenkins7957920034154044900.sh: 2: /tmp/jenkins7957920034154044900.sh: docker: not found
17:03:28 Build step 'Execute shell' marked build as failure