Merge "Kubernetes/OpenShift Provider: Don't Require Bash in Container Images"

This commit is contained in:
Zuul 2020-03-18 20:46:53 +00:00 committed by Gerrit Code Review
commit c0d7c96f76
2 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@ class KubernetesProvider(Provider):
'name': label.name,
'image': label.image,
'imagePullPolicy': label.image_pull,
'command': ["/bin/bash", "-c", "--"],
'command': ["/bin/sh", "-c"],
'args': ["while true; do sleep 30; done;"],
'workingDir': '/tmp'
}]

View File

@ -205,7 +205,7 @@ class OpenshiftProvider(Provider):
'name': label.name,
'image': label.image,
'imagePullPolicy': label.image_pull,
'command': ["/bin/bash", "-c", "--"],
'command': ["/bin/sh", "-c"],
'args': ["while true; do sleep 30; done;"],
'workingDir': '/tmp',
}