How can I set .bash_profile environment variable in Dockerfile?
<p>I want to set bash environment variable in Dockerfile.<br>
How I can do it? </p>

<p>Host: OS X 10.11.4<br>
Guest: ubuntu:latest</p>

<p>Dockerfile:</p>

<pre><code>RUN mkdir ~/gopath_dir
RUN apt-get install ubuntu-make
RUN umake go

# I want to set $GOPATH to ~/gopath_dir
</code></pre>