-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while making container #64
Comments
I got the same issue, I'm trying to build the docker image on a windows machine |
Im also having the same issue trying to build a docker image on a windows machine. I have also done it on linux OS but the same issue... |
I had the same issue but solved it by changing the end-of-line (EOL) sequence from CRLF (Windows) to LF (Unix) in the generate-certs.sh file. You have to open \proxy\src\generate-certs.sh in a text editor that allows changing the EOL (like notepad++, VS Code, etc.), click on CRLF on the bottom right corner and change it to LF, save the file and run the docker build command again. Hope this helps! |
I get this error when making the container:
[ 5/14] RUN chmod +x /usr/local/bin/generate-certs.sh && /usr/local/bin/generate-certs.sh && mkdir --parents /etc/haproxy/ssl/ && mv /certs/proxy.whatsapp.net.pem /etc/haproxy/ssl/proxy.whatsapp.net.pem && chown -R haproxy:haproxy /etc/haproxy/:
#9 3.378 /bin/sh: /usr/local/bin/generate-certs.sh: not found
executor failed running [/bin/sh -c chmod +x /usr/local/bin/generate-certs.sh && /usr/local/bin/generate-certs.sh && mkdir --parents /etc/haproxy/ssl/ && mv /certs/proxy.whatsapp.net.pem /etc/haproxy/ssl/proxy.whatsapp.net.pem && chown -R haproxy:haproxy /etc/haproxy/]: exit code: 127
Does anyone know a fix for this or what I may have done wrong?
The text was updated successfully, but these errors were encountered: