Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
Copy most of the existing docker-entrypoint.sh into the distribution and defer to it from the docker image. This will make it easier for us to align the distribution and docker entrypoints, hopefully preventing disasters like the 1.12 release.
The only things remaining in the image are things that are intrinsically tied to the image, like the jmalloc switch.
Over time we should look into reducing the amount of docker-specific logic in this script.
For example,
- setting various config options at startup could be moved into the image creation by modifying flink-conf.yaml right away (in a way, creating a custom docker distribution)
- docker-specific environment variables (for plugins the the number of slots for task executors) could be supported in all modes
Attachments
Issue Links
- is related to
-
FLINK-21034 Rework jemalloc switch to use an environment variable
- Closed
-
FLINK-21035 Deduplicate copy_plugins_if_required calls
- Closed
-
FLINK-21037 Deduplicate configuration logic in docker entrypoint
- Closed
- links to