title: Updating PATH environment variable permanently in Docker container
body: <p>I tried adding to the <code>PATH</code> in the files <code>~/.profile</code> and <code>/etc/profile</code> as follow.</p>
  
  <pre><code>PATH = $PATH:/required/path
  </code></pre>
  
  <p>However, it does not work. Then I tried with adding the line show, which did not work either. </p>
  
  <pre><code>export PATH
  </code></pre>
  
  <p>It did not work even after restarting the container and the host both.  </p>