This file contains 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
FROM mysql:5.6 | |
MAINTAINER Your Name <[email protected]> | |
COPY wait-for-mysql.sh / | |
CMD /wait-for-mysql.sh |
This file contains 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
#!/usr/bin/env bash | |
# | |
# If you're like me and have to switch between VMware Fusion and | |
# VirtualBox virtual machines on your Mac frequently, then you've | |
# probably run into one of the associated errors in this gist | |
# (https://gist.github.com/beporter/2841de37edbcc48a8755), particularly | |
# if you're using vagrant. This script shuts down or removes the bridge | |
# interfaces from BOTH providers so that they can start up cleanly again | |
# without conflicting with each other and without having to reboot your | |
# Mac. |
This file contains 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
# Initial setup | |
git clone -o framework -b develop https://github.com/laravel/laravel.git project-name | |
cd project-name | |
git checkout --orphan master | |
git commit -m "Initial commit" | |
# Pulling changes | |
git fetch framework | |
git merge --squash -m "Upgrade Laravel" framework/develop | |
# Fix merge conflicts if any and commit |