Created
October 9, 2013 02:39
-
-
Save joefiorini/6895305 to your computer and use it in GitHub Desktop.
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
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
aws: grunt.file.readJSON(process.env.HOME + '/grunt-aws.json'), | |
copy: loadConfig('copy'), | |
concat: loadConfig('concat'), | |
s3: loadConfig('s3'), | |
dockerfiles: { | |
options: { | |
packageInstall: 'pacman -S --noconfirm "<%= package.name %><%= package.version %>"', | |
// or function(name, version) { return "pacman -S --noconfirm " + name + version; } | |
preamble: 'templates/preamble.docker', | |
// or {COMMAND OBJECT} | |
epilogue: 'templates/epilogue.docker' | |
// or {COMMAND OBJECT} | |
}, | |
ruby: { | |
base: "schmidh/arch-base", | |
packages: { | |
ruby: {"version": ">=2.0.0"}, | |
node: {"version": ">=0.10.20"} | |
}, | |
commands: [ | |
// or {COMMAND OBJECT} | |
{RUN: "gem install bundler"}, | |
{ADD: "http://configs.static.triforce.io/configs-ruby-0.0.1.tar.gz /configs-ruby.tar.gz"}, | |
{RUN: "tar -xvzf /configs-ruby.tar.gz"}, | |
{RUN: "chown -R dev /home/dev && RUN chgrp -R dev /home/dev"} | |
] | |
}, | |
node: { | |
base: "schmidh/arch-base", | |
packages: { | |
node: {"version": ">=0.10.20"} | |
} | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment