Skip to content

Commit

Permalink
Restore previous methods as deprecated for compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorn committed Jan 15, 2020
1 parent 9adcadc commit 9230ce3
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ package com.typesafe.sbt.packager.docker

object DockerSupport {

@deprecated
def chownFlag(version: DockerVersion): Boolean =
(version.major == 17 && version.minor >= 9) || version.major > 17

@deprecated
def multiStage(version: DockerVersion): Boolean =
(version.major == 17 && version.minor >= 5) || version.major > 17

def chownFlag(version: DockerVersion, apiVersion: DockerApiVersion): Boolean =
((version.major == 17 && version.minor >= 9) || version.major > 17) || (apiVersion.major == 1 && apiVersion.minor >= 32)

Expand Down

0 comments on commit 9230ce3

Please sign in to comment.