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

Method missing method does not work well in gradle script kotlin builds #109

Open
JLLeitschuh opened this issue Apr 18, 2017 · 2 comments
Open

Comments

@JLLeitschuh
Copy link

JLLeitschuh commented Apr 18, 2017

Your Dockerfile class doesn't lend itself well for usage in gradle script kotlin builds.

https://github.com/Transmode/gradle-docker/blob/master/src/main/groovy/se/transmode/gradle/plugins/docker/image/Dockerfile.groovy#L70

Providing more strongly typed methods for the default commands would be useful.

@bjornmagnusson
Copy link
Contributor

Thanks for the input. We do not use Kotlin yet in-house.
Do you have an example buildscript to provide?

@JLLeitschuh
Copy link
Author

I ended up not moving forward using this this plugin and instead ended up using the bmuschko/gradle-docker-plugin plugin.

The primary problems that I had with this plugin is that DockerFile is missing methods for several of the keywords that Docker supports now.

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

No branches or pull requests

2 participants