sudo ln -s ~/.composer/vendor/bin/* /usr/bin/
Let's assume that you're starting with a Dockerfile - and the bravery to start.
Mac/Windows requires that Docker runs from a VM (:cry:), so the best approach is using Docker Toolbox.
- Install Docker Toolbox (download it, then click next till the end of the world);
docker-machine create --driver virtualbox AWESOME_VMto create a new environment. You can name it the way you like 😉.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace My\Awesome\Namespace; | |
| use Symfony\Component\HttpFoundation\RedirectResponse; | |
| use Symfony\Component\HttpKernel\Event\GetResponseEvent; | |
| class HomeRedirect | |
| { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [[ -n ${bamboo_pull_num} ]]; then | |
| echo 'stoping bamboo' | |
| curl "http://${bamboo_BAMBOO_USER}:${bamboo_BAMBOO_password}@your.bamboo.domain/build/admin/stopPlan.action?${bamboo.planResultKey}-${bamboo.buildNumber}" | |
| fi |