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
from "ubuntu" | |
packages = %w[ | |
ack-grep | |
zsh | |
tmux | |
build-essential | |
vim-nox | |
git | |
mercurial |
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
from "golang" | |
packages = %w[ | |
zsh | |
tmux | |
build-essential | |
vim-nox | |
git | |
mercurial | |
] |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"os" | |
"strings" |
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
from "golang" | |
env "GOPATH" => "/go" | |
run "apt-get update" | |
run "apt-get install -y build-essential g++ git wget curl ruby bison flex" | |
run "mkdir -p /go/src/github.com/mitchellh" | |
gopaths = [ | |
"github.com/docker/engine-api", | |
"github.com/docker/distribution/reference", |
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
from "debian" | |
3.times do | |
run "echo hi >>root-test" | |
end | |
run "mkdir /test" | |
run "chown nobody /test" | |
user "nobody" do | |
workdir "/test" do |
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
from "debian" | |
3.times do | |
run "echo hi >>root-test" | |
end | |
run "mkdir /test" | |
run "chown nobody /test" | |
user "nobody" do | |
workdir "/test" do |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"os" | |
"strings" |
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
from "debian" | |
3.times do | |
run "echo hi >>root-test" | |
end | |
run "mkdir /test" | |
run "chown nobody /test" | |
user "nobody" do | |
workdir "/test" do |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"io" | |
"os" | |
"github.com/docker/engine-api/client" | |
"github.com/docker/engine-api/types" |
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
package main | |
import ( | |
"fmt" | |
mruby "github.com/mitchellh/go-mruby" | |
) | |
func main() { | |
mrb := mruby.NewMrb() |