title: How to define few variables in one line in bash in Dockerfile?
body: <p>In my Dockerfile I am setting environmental variables one-by-one with structure like:</p>
  
  <pre><code>RUN export PATH="/root/.rbenv/shims:$PATH"
  RUN export RUBY_PATH="/root/.rbenv/shims/ruby"
  </code></pre>
  
  <p>Is there a way to merge this into 1 line, like</p>
  
  <pre><code>RUN export PATH="/root/.rbenv/shims:$PATH" &amp;&amp; export RUBY_PATH="/root/.rbenv/shims/ruby"
  </code></pre>
  
  <p>?</p>