Skip to content

Commit c68233d

Browse files
authored
Do not assume a shell for the self-hosted worker (#49)
1 parent cb655a5 commit c68233d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/worker/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func (b *DockerBackend) ExecuteTask(ctx context.Context, params *TaskParams) err
107107
}
108108

109109
// Build Docker-specific command: entrypoint prefix + base args.
110-
cmd := append([]string{"/bin/sh", "/agent/entrypoint.sh"}, params.BaseArgs...)
110+
cmd := append([]string{"/agent/entrypoint.sh"}, params.BaseArgs...)
111111

112112
log.Debugf(ctx, "Creating Docker container with image=%s", imageName)
113113

0 commit comments

Comments
 (0)