tsantalis/RefactoringMiner

Dockerfile should be split up in build and distribution

koppor opened this issue · 2 comments

The dockerfile https://github.com/tsantalis/RefactoringMiner/blob/master/Dockerfile uses a full-blown JDK to build.

It should switch to a multi stage build to reduce image size.

IMHO simply up to line 10 is build and from line 11 its the run image.

https://github.com/tsantalis/RefactoringMiner/blob/master/Dockerfile

@pouryafard75
Could you please take care of this issue reported by @koppor ?
Thank you

@koppor
@pouryafard75 reduced the image size significantly to 300 MB.