Pessoal,
tudo bem ?
estou buscando a pratica e fazendo um laboratório juntos as aulas e estou tendo problemas no primeiro passo da build, que e a validação do Dockerfile.
Obs: Tenho meu docker rodando em outra maquina já com a deamon configurada, o Jenkins consegui ao configurar o provider se conectar e ver verão, ate consigo ver os container que estão rodando pelo jenkis.
Started by user Alex Dias
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/jenkins-todo-list-principal
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
using credential github-ssh
Cloning the remote Git repository
Cloning repository git@github.com:alexsrdias/alura-devops.git
> git init /var/jenkins_home/workspace/jenkins-todo-list-principal # timeout=10
Fetching upstream changes from git@github.com:alexsrdias/alura-devops.git
> git --version # timeout=10
using GIT_SSH to set credentials github-ssh
> git fetch --tags --progress -- git@github.com:alexsrdias/alura-devops.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@github.com:alexsrdias/alura-devops.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@github.com:alexsrdias/alura-devops.git # timeout=10
Fetching upstream changes from git@github.com:alexsrdias/alura-devops.git
using GIT_SSH to set credentials github-ssh
> git fetch --tags --progress -- git@github.com:alexsrdias/alura-devops.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision fa2ee0cfaf7f3ab4d0807a0cb51ff966e84b6ae5 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f fa2ee0cfaf7f3ab4d0807a0cb51ff966e84b6ae5 # timeout=10
Commit message: "OPTIMIZED - Dockerfile - 03"
> git rev-list --no-walk fa2ee0cfaf7f3ab4d0807a0cb51ff966e84b6ae5 # timeout=10
[jenkins-todo-list-principal] $ /bin/sh -xe /tmp/jenkins6654182863127214718.sh
+ docker run --rm -i hadolint/hadolint:latest-debian
/tmp/jenkins6654182863127214718.sh: 2: /tmp/jenkins6654182863127214718.sh: docker: not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE
Obrigado pela atenção.