Skip to content

Instantly share code, notes, and snippets.

@dasch
Last active Mar 2, 2018
Embed
What would you like to do?
# Distributed build system using Makefile-esque syntax.
base:
FROM ruby:2.4.1
bundle: base
ADD Gemfile Gemfile.lock vendor/
RUN bundle install
assets: base
ADD app/assets/
RUN ./compile-assets
code: base
ADD app/ lib/ config/
main: code bundle assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment