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

Broken and irreproducible dockerized docs build

    XMLWordPrintableJSON

    Details

      Description

      The build tools around docs/docker seem broken and (on my machine) give errors like the following while it is working on a colleague's machine:

      bash: /etc/bash_completion.d/git-prompt.sh: No such file or directory
      bash: __git_ps1: command not found
      
      /usr/bin/env: 'ruby.ruby2.5': No such file or directory
      bash: __git_ps1: command not found
      

      Reason seems to be that your whole user's $HOME is mounted (writable!) into the docker container. We should just mount the docs directory to get

      1. builds which are independent from the host system (making them reproducible)
      2. not have the commands in the container affect the host

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                NicoK Nico Kruber
                Reporter:
                NicoK Nico Kruber
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m