title: Syntax Error With Erlang 20.2
body: <p>I encountered a wired problem with Erlang 20 . </p>
  
  <p>I use <code>rebar3 as prod tar</code> to generate an archived file and I use this to build an docker image based on <code>erlang:20.2-alpine</code>.</p>
  
  <p>On my Macbook Pro, it is ok to call <code>bin/app start</code> but on the target docker container, it tells me: <code>erts-9.2/bin/erlexec: line 1: syntax error: unexpected "("</code></p>
  
  <p>Erlang on my Macbook Pro:</p>
  
  <pre><code>erl
  Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
  
  Eshell V9.2  (abort with ^G)
  </code></pre>
  
  <p>Erlang on the target container:</p>
  
  <pre><code>erl
  Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:10] [hipe] [kernel-poll:false]
  
  Eshell V9.2  (abort with ^G)```
  </code></pre>