Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20915

Move docker-entrypoint.sh logic into distribution

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: