-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chown values overrides for Docker format #1400
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -68,4 +68,8 @@ private[packager] trait DockerKeysEx extends DockerKeys { | |||||||||||||||||
) | ||||||||||||||||||
val dockerLayerMappings = | ||||||||||||||||||
taskKey[Seq[LayeredMapping]]("List of layer, source file and destination in Docker image.") | ||||||||||||||||||
val chownUser = | ||||||||||||||||||
SettingKey[Option[String]]("chown-user", "Optional alternative user to use in chown in COPY command") | ||||||||||||||||||
val chownGroup = | ||||||||||||||||||
SettingKey[Option[String]]("chown-group", "Optional alternative group to use in chown in COPY command") | ||||||||||||||||||
Comment on lines
+71
to
+74
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
If the setting is specific to a packaging format it's prefixed with that format. In this case |
||||||||||||||||||
} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -99,6 +99,12 @@ Environment Settings | |||||
``daemonUser in Docker`` | ||||||
The user to use when executing the application. Files below the install path also have their ownership set to this user. | ||||||
|
||||||
``chownUser in Docker`` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
Optionally overrides user value used for applying to ``chown`` in ``COPY`` commands. | ||||||
|
||||||
``chownGroup in Docker`` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
Optionally overrides group value used for applying to ``chown`` in ``COPY`` commands. | ||||||
|
||||||
``dockerExposedPorts`` | ||||||
A list of TCP ports to expose from the Docker image. | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment in the
Keys.scala
.Also move up to the settings starting with
docker*