Closed thynson closed 6 years ago
@thynson it was my bad.
Thanks for the PR.
It's fixed in emqx30
branch already though.
The image built from your branch is about 150MB
The image built from branch emqx30
is about 88MB.
I guess there is no easy way to split the build step without bloating image size.
Last change to emqx Dockerfile separate the build of otp and emqx. However the installed package used to build otp was not removed from the otp layer, thus increasing the final image size no matter whether they're removed or not. This pull request fix the above issue.