The script for building a Rails Docker environment.
- FreeBSD-based OS, i.e. macOS
- Docker
- Docker Compose
- Zsh
$ ./build.sh [<rails_version> [mysql|postgresql [<ruby_version>]]]
You can choose a rails version from the following url.
However, version 5.0 or higher is strongly recommended.
You can choose between 'mysql' or 'postgresql'.
The latest version of the image will be built.
see more information
You can choose a ruby version from the following url.
The following two commands will run the same operation
$ ./build.sh
$ ./build.sh 5.2.2 mysql 2.5
If you have been creating another Docker environment, do not run it casually!
$ ./clean.sh
Rails Docker builder is released under the MIT License, see MIT-LICENSE.txt.