News for hackers. Stuff that matters.
Re:Ask HN: How long does it take to setup your dev environment? by Axsuul on Monday March 19, 2018 @07:48PM (#16624539)
Have you looked into docker-compose?

1. Install Docker

2. `docker-compose up`

3. Run tasks to seed the database

Re:Ask HN: How long does it take to setup your dev environment? by willglynn on Monday March 19, 2018 @10:09PM (#16625424)
We've taken this a step further: `docker-compose.yml` uses a database image that has seed data baked right in. It's great.
Re:Ask HN: How long does it take to setup your dev environment? by Axsuul on Monday March 19, 2018 @11:19PM (#16625758)
Cool! Do you have an example? Super interested.
Re:Ask HN: How long does it take to setup your dev environment? by diggan on Tuesday March 20, 2018 @05:33AM (#16627044)
It's pretty trivial (not the OP but done that before). Instead of specifying `mysql:5.6` as a image in docker-compose.yml, create a Dockerfile from `mysql:5.6` and run the queries when building the image.