Skip to content
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

[Docker] add dockerEnvVars support #1137

Merged
merged 7 commits into from
Jul 12, 2018
Merged

[Docker] add dockerEnvVars support #1137

merged 7 commits into from
Jul 12, 2018

Conversation

kimxogus
Copy link
Contributor

added docker environment variables support

Copy link
Contributor

@muuki88 muuki88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your pull request 😍 . The overall code looks pretty good. There are only some minor questions.

The only thing that's missing is the settings documentation. You can add it to the docker.rst format

@@ -10,7 +10,6 @@ import com.typesafe.sbt.packager.linux.LinuxPlugin.autoImport.{daemonUser, defau
import com.typesafe.sbt.packager.universal.UniversalPlugin
import com.typesafe.sbt.packager.universal.UniversalPlugin.autoImport.stage
import com.typesafe.sbt.SbtNativePackager.Universal
import com.typesafe.sbt.packager.Compat._
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this compiles with sbt 0.13.x

@@ -61,7 +60,7 @@ object DockerPlugin extends AutoPlugin {
*/
val UnixSeparatorChar = '/'

override def requires = UniversalPlugin
override def requires: UniversalPlugin.type = UniversalPlugin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The more generic type would be Plugins

@kimxogus
Copy link
Contributor Author

@muuki88 applied your requests and added dockerEnvVars to docker.rst :)

@muuki88
Copy link
Contributor

muuki88 commented Jul 12, 2018

Perfectly done pull request 👍 thanks a lot. Will release this ASAP

@muuki88 muuki88 merged commit 6e94d79 into sbt:master Jul 12, 2018
@kimxogus kimxogus deleted the docker/env branch July 20, 2018 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants