Interactive command in Dockerfile
<p>I'm trying to automate a creation of a development Docker image using <code>docker build</code> command with appropriate <code>Dockerfile</code>. One of the scripts that I need to run in a <code>RUN</code> command wants the user to click through and read their license agreement. Thus there are two questions:</p>

<ol>
<li>Where is the output of all the <code>RUN</code> commands in a <code>Dockerfile</code>?</li>
<li>What solution is possible to interact with the aforementioned command? Right now the <code>docker build</code> command just gets stuck asking user for input in an infinite loop.</li>
</ol>