Github user iemejia commented on the issue:
https://github.com/apache/flink/pull/2176
Nice, I just fixed as you suggested. I have three questions:
1. This container is based on the Java JRE (to keep it small), Does Flink
in any part do some magic that requires a full JDK (like live recompiles) ? If
no, I think this is almost perfect now.
2. Are you aware of any other flink dependency that uses any native OS
library (I ask this since this because if it is the case it must be added to
the container, I did this for snappy because I found the issue while testing a
Beam pipeline, but I don't know if there are others).
3. In the docker image I left supervisor because I didn't find an easy way
to start flink in normal mode, the scripts to start both taskmanager and
jobmanager go into daemon mode immediately, is there something that can be done
to change this (this will reduce the image in 40 more MB), but well I can work
on that for a different PR.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---