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
Codercord8mo ago
<#1232310327450931391>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Atif
Atif8mo ago
This looks like an issue with your Dockerfile
Solution
Atif
Atif8mo ago
can you build the Dockerfile outside of coder using docker build?
TomTom
TomTomOP8mo ago
Yes. it was ... Found it 🙂 was having the same error. How can I close the help ticket ? 🙂
Codercord
Codercord8mo ago
@Atif closed the thread.
Atif
Atif8mo ago
I have done it. Glad to know that you have found the issue 🙂
Want results from more Discord servers?
Add your server