Skip to content

Commit

Permalink
Expose entrypoint and shell for Docker plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Jul 31, 2019
1 parent 9f2a700 commit 18bec66
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,20 @@ class BuildkitePipeline implements ConfigurableEnvironment {
volume(source, target)
}
}

/**
* Override the Docker container entrypoint.
*/
void entrypoint(String entrypoint) {
model.entrypoint = entrypoint
}

/**
* Set the shell to use for the command.
*/
void shell(String... args) {
model.shell = args
}
}

/**
Expand Down

0 comments on commit 18bec66

Please sign in to comment.