Skip to content

Commit

Permalink
Use /bin/sh instead of /bin/bash (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjndw authored Jan 9, 2024
1 parent 9a3de84 commit 3ebf3cd
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 3ebf3cd

Please sign in to comment.