DockerPermissionStrategy

com.typesafe.sbt.packager.docker.DockerPermissionStrategy
See theDockerPermissionStrategy companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object CopyChown extends DockerPermissionStrategy

CopyChown calls COPY --chown in the Dockerfile. This option is provided for backward compatibility. This will inherit the host machine's file mode. Note that this option is not compatible with OpenShift which ignores USER command and uses an arbitrary user to run the container.

CopyChown calls COPY --chown in the Dockerfile. This option is provided for backward compatibility. This will inherit the host machine's file mode. Note that this option is not compatible with OpenShift which ignores USER command and uses an arbitrary user to run the container.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
CopyChown.type
case object MultiStage extends DockerPermissionStrategy

MultiStage uses multi-stage Docker build to change the file permissions. https://docs.docker.com/develop/develop-images/multistage-build/

MultiStage uses multi-stage Docker build to change the file permissions. https://docs.docker.com/develop/develop-images/multistage-build/

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
MultiStage.type
case object None extends DockerPermissionStrategy

None does not attempt to change the file permissions. This will inherit the host machine's group bits.

None does not attempt to change the file permissions. This will inherit the host machine's group bits.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
None.type
case object Run extends DockerPermissionStrategy

Run calls RUN in the Dockerfile. This could double the size of the resulting Docker image because of the extra layer it creates.

Run calls RUN in the Dockerfile. This could double the size of the resulting Docker image because of the extra layer it creates.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Run.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror