Open cartolover opened 6 years ago
The ^M characters are not present in this repo.
Did you do a docker build
on a Windows system?
During the git clone
or editing the ^M or carriage return characters where added to files, braking the template_postgis.sh file when run in the Linux container.
See https://help.github.com/articles/dealing-with-line-endings/ how to fix so ^M chars are not added.
Yes i use docker tool box on win10
Il mer 12 set 2018 10:49 Stefan Verhoeven notifications@github.com ha scritto:
The ^M characters are not present in this repo.
Did you do a docker build on a Windows system?
During the git clone or editing the ^M or carriage return characters where added to files, braking the template_postgis.sh file when run in the Linux container. See https://help.github.com/articles/dealing-with-line-endings/ how to fix so ^M chars are not added.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sverhoeven/docker-cartodb/issues/61#issuecomment-420565894, or mute the thread https://github.com/notifications/unsubscribe-auth/Aorhy_yD4_tFSCnnsrWxXgfnw0vwXOkIks5uaMqygaJpZM4WdyMj .
bash: /tmp/template_postgis.sh: /bin/bash^M: bad interpreter: No such file or directory The command '/bin/sh -c service postgresql start && /bin/su postgres -c /tmp/template_postgis.sh && service postgresql stop' returned a non-zero code: 126
but in docker-cartodb i can see the file!