Not working in Macs
SHORT DESCRIPTION (required)
During my first talk ever where I decided to present Php Docker Stack it was necessary to use a Mac laptop to connect to the screen and I discovered on time that it was not possible to run the demo for Php Docker Stack due to several errors in the bash scripts.
DETAILED STEPS TO REPRODUCE (required)
We just need to run a command like ./vendor/bin/server up http and we will get the first error on the below list of errors.
After we solve it another ones will popup when running the same command.
List of errors
So the bash flavour in Macs don't support:
- to run
readlink -f, like on this line. - negative offset in parameter substitution like on this line.
- backslash on a dir or file path. This blackslash was being added accidentally here.
EXPECTED BEHAVIOUR (required)
When running the bash script ./vendor/bin/server it should not produce any error due to bash code incompatibilities with current versions of the OS of Macs.
RELATED TO (optional)
N/A
DEPENDS ON (optional)
N/A
LINKS (optional)
N/A