title: /bin/bash: Command not found in alpine docker
body: <p>I'm trying to run this <code>Makefile</code> in an <code>alpine</code> docker.</p>
  
  <pre><code>SHELL := /bin/bash
  
  build:
      GOOS=linux go build -o bin/server main.go
  </code></pre>
  
  <p>I have ascertained that both <code>bash</code>, <code>make</code>, <code>go</code> is there by interactively going into the container and checking all commands.</p>
  
  <p>But this command mysteriously fails:</p>
  
  <pre><code>+ make build
  make: /bin/bash: Command not found
  GOOS=linux go build -o bin/server main.go
  make: /bin/bash: Command not found
  make: *** [Makefile:17: build] Error 127
  script returned exit code 2
  </code></pre>
  
  <p>I have a real hard time debugging this as it's in a docker and it's <code>jenkins</code> that is executing everything.</p>