Merge "Kubernetes/OpenShift Provider: Don't Require Bash in Container Images"
This commit is contained in:
commit
c0d7c96f76
@ -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'
|
||||
}]
|
||||
|
@ -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',
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user