Skip to content

Commit

Permalink
don't set empty CMD when not configured
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnworb committed Nov 5, 2015
1 parent fbc8581 commit 71efa2a
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 71efa2a

Please sign in to comment.