-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Blocker
-
Component/s: docker-workflow-plugin
Create a pipeline job and run some commands inside any alpine image with the docker pipeline step it will give an error /bin/bash not found
same steps will work fine in ubuntu image
Â
Steps to Reproduce:
pipeline {
  agent any  stages {
    stage('Hello') {
      steps {
        script {
           docker.image('alpine').inside {
            sh 'ls -lrt'
          }
        }
      }
    }
  }
}
Output:
[Pipeline] sh sh: /bin/bash: not found