Skip to content

Commit

Permalink
Clear entrypoint when setting command (#77)
Browse files Browse the repository at this point in the history
If a builder image has an entrypoint (say via inheritance from it's base builder image) then in order for the snowdrop buildpack lib to function correctly, we must wipe the entrypoint when setting the command, else we'll invoke the wrong thing.
  • Loading branch information
BarDweller authored Jul 26, 2024
1 parent c117151 commit fb61577
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ private static String createContainerInternal(DockerClient dc, String imageRefer

if (command != null) {
ccc.withCmd(command);
ccc.withEntrypoint("");
}

if (network!=null){
Expand Down

0 comments on commit fb61577

Please sign in to comment.