Answers: <p><a href="https://github.com/austinsonger/vulnscout/blob/main/build.sh#L81" rel="nofollow noreferrer">Line 81 of build.sh</a> is trying to run python3.  But the problem is more fundamental because you aren't getting any of the earlier <code>echo</code>s or <code>apt-get</code> command's output.  I would try:</p>
  <pre><code>chmod +x build.sh
  ./build.sh
  </code></pre>
  <p>to let the sh-bang line do its job.</p>
  
Answers: CC BY-SA 4.0
Answers: 2021-02-24T16:07:01.240Z
Answers: 2021-02-24T16:07:01.240Z
Answers: chicks
Body: <pre><code>Running mktexlsr /var/lib/texmf ... done.
  Building format(s) --all.
          This may take some time... done.
  build.sh: line 81: -: No such file or directory
  The command '/bin/sh -c bash build.sh' returned a non-zero code: 1
  </code></pre>
  <p>You can view the code here.</p>
  <p><a href="https://github.com/austinsonger/GreenOpenVAS" rel="nofollow noreferrer">https://github.com/austinsonger/GreenOpenVAS</a></p>
  
Tags: <docker><containers>
Title: Docker Build Ending Up `returned a non-zero code: 1`
UserDisplayName: austinsonger
ThreadText: # Docker Build Ending Up `returned a non-zero code: 1`
  
  (Asked by: username_0 on 2021-02-23)
  
  ```
  Running mktexlsr /var/lib/texmf ... done.
  Building format(s) --all.
          This may take some time... done.
  build.sh: line 81: -: No such file or directory
  The command '/bin/sh -c bash build.sh' returned a non-zero code: 1
  
  ```
  
  You can view the code here.
  
  <https://github.com/username_0/GreenOpenVAS>
  
  **Tags:** docker, containers
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-02-24. Score: 1
  
  [Line 81 of build.sh](https://github.com/username_0/vulnscout/blob/main/build.sh#L81) is trying to run python3. But the problem is more fundamental because you aren't getting any of the earlier `echo`s or `apt-get` command's output. I would try:
  
  ```
  chmod +x build.sh
  ./build.sh
  
  ```
  
  to let the sh-bang line do its job.
  
  
  ---
  
  