Skip to content

Commit

Permalink
Use /bin/sh instead of /bin/bash
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjndw authored Dec 8, 2023
1 parent ed8d5a8 commit 98bf6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HadesScheduler/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func executeStep(ctx context.Context, client *client.Client, step payload.Step,
// Create the bash script if there is one
if step.Script != "" {
// Overwrite the default entrypoint
container_config.Entrypoint = []string{"/bin/bash", "-c", step.Script}
container_config.Entrypoint = []string{"/bin/sh", "-c", step.Script}
}

resp, err := client.ContainerCreate(ctx, &container_config, &host_config, nil, nil, "")
Expand Down

0 comments on commit 98bf6ca

Please sign in to comment.