Re: Official Docker Groovy images

2017-03-01 Thread Keegan Witt
I'm preparing to update for 2.4.9 and am considering two significant changes to the initial image. First, to create a volume to prevent Grape caches from being put into downstream images (PR #6 ), and using a user other than root for the container (P

Re: Override a method without knowing its parameters

2017-03-01 Thread Douglas Mendes
Answering my own question: It can be done if the metaClass is an ExpandoMetaClass. Like this: expandoMetaClass.registerInstanceMethod( new TransformMetaMethod(originalMetaMethod) { @Override Object invoke(Object object, Object[] arguments) { println "Done! Method o

Re: Official Docker Groovy images

2017-03-01 Thread Guillaume Laforge
Well done, Keegan! On Wed, Mar 1, 2017 at 8:12 AM, Daniel Sun wrote: > Nice! > > > > -- > View this message in context: http://groovy.329449.n5. > nabble.com/Official-Docker-Groovy-images-tp5738848p5738851.html > Sent from the Groovy Users mailing list archive at Nabble.com. > -- Guillaume L