You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nico Kruber (JIRA)" <ji...@apache.org> on 2019/06/27 12:38:00 UTC

[jira] [Updated] (FLINK-13017) Broken and irreproducible dockerized docs build

     [ https://issues.apache.org/jira/browse/FLINK-13017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nico Kruber updated FLINK-13017:
--------------------------------
    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:
{code}
bash: /etc/bash_completion.d/git-prompt.sh: No such file or directory
bash: __git_ps1: command not found
{code}

{code}
/usr/bin/env: 'ruby.ruby2.5': No such file or directory
bash: __git_ps1: command not found
{code}

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
# builds which are independent from the host system (making them reproducible)
# not have the commands in the container affect the host(!)

  was:
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:
{code}
bash: /etc/bash_completion.d/git-prompt.sh: No such file or directory
bash: __git_ps1: command not found
{code}

{code}
```/usr/bin/env: 'ruby.ruby2.5': No such file or directory
bash: __git_ps1: command not found```
{code}

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
# builds which are independent from the host system (making them reproducible)
# not have the commands in the container affect the host(!)


> Broken and irreproducible dockerized docs build
> -----------------------------------------------
>
>                 Key: FLINK-13017
>                 URL: https://issues.apache.org/jira/browse/FLINK-13017
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.6.4, 1.7.2, 1.8.0, 1.9.0
>            Reporter: Nico Kruber
>            Assignee: Nico Kruber
>            Priority: Critical
>
> 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:
> {code}
> bash: /etc/bash_completion.d/git-prompt.sh: No such file or directory
> bash: __git_ps1: command not found
> {code}
> {code}
> /usr/bin/env: 'ruby.ruby2.5': No such file or directory
> bash: __git_ps1: command not found
> {code}
> 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
> # builds which are independent from the host system (making them reproducible)
> # not have the commands in the container affect the host(!)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)