mingrammer / flog

:tophat: A fake log generator for common log formats
MIT License
1.11k stars 135 forks source link

create a smaller image using a multistage build #19

Closed kennonkwok closed 5 years ago

kennonkwok commented 5 years ago

Hi, I really like flog but I wanted to make the image smaller. If you're interested, this PR results in a ~3MB image and "works for me" so far.

mingrammer commented 5 years ago

This change is really awesome :)

Thank you!

mingrammer commented 5 years ago

@kennonkwok I slightly changed the Dockerfile to use ENTRYPOINT instead of CMD

https://github.com/mingrammer/flog/commit/5ca3c67586704a9db67bd58e0ee4e0c8aceaa4d4

kennonkwok commented 5 years ago

👍 Thanks!