Skip to content

Commit

Permalink
Merge pull request #294 from rfranco/docker-build-rm
Browse files Browse the repository at this point in the history
[docker] add build --force-rm
  • Loading branch information
muuki88 committed Jul 14, 2014
2 parents e75f1d6 + 8045e18 commit 66273a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ trait DockerPlugin extends Plugin with UniversalPlugin {
}

def publishLocalDocker(context: File, tag: String, log: Logger): Unit = {
val cmd = Seq("docker", "build", "-t", tag, ".")
val cmd = Seq("docker", "build", "--force-rm", "-t", tag, ".")
val cwd = context.getParentFile

log.debug("Executing " + cmd.mkString(" "))
Expand Down

0 comments on commit 66273a3

Please sign in to comment.