from Hacker News

Developing with Docker at IFTTT

by devinfoley on 10/7/15, 3:24 PM with 28 comments

  • by mathewpeterson on 10/7/15, 7:46 PM

    It seems like using .dev TLD is a bad idea since Google owns it[1]. How many people use the .dev or .local TLD? What's the best practice here?

    [1] https://www.iana.org/domains/root/db/dev.html

  • by siliconc0w on 10/7/15, 5:49 PM

    Very cool, we use boot2docker and a slightly modified fork of docker compose but have yet to automate installing everything.

    To avoid reinstalling dependencies you can use multiple dependency files to separate your slowest building dependencies (i.e for ruby you can use a Gemfile and Gemfile.tip) and a git hook script to set the modified time of all files in the repo to their last change in git:

    https://gist.github.com/siliconcow/d5c991f49b7550360465

  • by greenleafjacob on 10/7/15, 4:49 PM

    Hey IFTTT! Jacob from Imgur here. Do you guys think you will be trying Kubernetes soon?
  • by bndw on 10/7/15, 4:44 PM

    Nice to see a post that covers the various aspects of using Docker in place of some like Vagrant for local development.

    The biggest pain I've run into when using Docker for local dev is waiting for pip to install dependencies on rebuilds. This offers an interesting strategy for mitigating that and I look forward to digging into this more.

  • by wstrange on 10/7/15, 4:54 PM

    Cool stuff.

    Link the to github project: https://github.com/IFTTT/dash