Skip to content

Commit

Permalink
Merge pull request fabric8io#149 from spotify/empty-cmd
Browse files Browse the repository at this point in the history
don't set empty CMD when not configured
  • Loading branch information
mattnworb committed Nov 6, 2015
2 parents 91324b3 + 71efa2a commit a352252
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/spotify/docker/BuildMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,6 @@ private void createDockerFile(final String directory, final List<String> filesTo
// no ENTRYPOINT set so use cmd verbatim
commands.add("CMD " + cmd);
}
} else {
commands.add("CMD []");
}

// this will overwrite an existing file
Expand Down

0 comments on commit a352252

Please sign in to comment.