Calling a bash script while building the workspace (docker)

Hi everybody, I am using the starter template for docker and when I try to call my bash script it fails. I added of course the bash to the build. I didn‘t append the /bin/sh -c . Can somebody please explain what issue is ? Best regards, Thomas
No description
Solution:
can you build the Dockerfile outside of coder using docker build?
Jump to solution
6 Replies
Codercord
Codercord9mo ago
<#1232310327450931391>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Atif
Atif9mo ago
This looks like an issue with your Dockerfile
Solution
Atif
Atif9mo ago
can you build the Dockerfile outside of coder using docker build?
TomTom
TomTomOP9mo ago
Yes. it was ... Found it 🙂 was having the same error. How can I close the help ticket ? 🙂
Codercord
Codercord9mo ago
@Atif closed the thread.
Atif
Atif9mo ago
I have done it. Glad to know that you have found the issue 🙂

Did you find this page helpful?