5 ms·
Mostly agreed, but (maybe orthogonal) IME, popular CI/CD vendors like TeamCity* can make even basic things like shell script execution problematic. * TC offers
by chrisweekly 2y ago
Mostly agreed, but (maybe orthogonal) IME, popular CI/CD vendors like TeamCity* can make even basic things like shell script execution problematic.
* TC offers sh, full stop. If you want to script something that depends on bash, it's a PITA and you end up with a kludge to run bash in sh in docker in docker.
- mdaniel 2y ago> If you need a specific interpreter to be used, specify shebang (for example, #!/bin/bash) as the first line of the script. https://www.jetbrains.com/help/teamcity/command-line.html#:~:text=for%20example%2C%20%23!%2Fbin%2Fbash https://www.jetbrains.com/help/teamcity/command-line.html#:~... Your "docker in docker" comment makes me wonder if you're conflating the image that you are using, that just happens to be run by TeamCity, versus some inherent limitation of TC. I believe a boatload of the Hashicorp images ship with dash, or busybox or worse, and practically anything named "slim" or "alpine" similarly