diff options
| author | Christine Dodrill <me@christine.website> | 2017-03-25 11:01:52 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2017-03-25 11:01:52 -0700 |
| commit | 2eb8b3cd75085a49cff7a6865b01f28a11b45e35 (patch) | |
| tree | 542546f058be6d04df0b70a00ae3cddf7eaefa3f /box.rb | |
| parent | 9b16f8a021d25eaedaec4726f5ee924a17615921 (diff) | |
| download | xesite-2eb8b3cd75085a49cff7a6865b01f28a11b45e35.tar.xz xesite-2eb8b3cd75085a49cff7a6865b01f28a11b45e35.zip | |
upgrade to go 1.8
Diffstat (limited to 'box.rb')
| -rw-r--r-- | box.rb | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,4 +1,7 @@ -from "xena/go:1.7.4" +from "xena/go-mini:1.8" + +### setup go +run "go1.8 download" ### Copy files run "mkdir -p /site" @@ -34,15 +37,15 @@ files = [ files.each { |x| put x } -copy "vendor/", "/go/src/" +copy "vendor/", "/root/go/src/" ### Build run %q[ cd /site && sh ./build.sh ] debug! if debug? ### Cleanup -run %q[ rm -rf /usr/local/go /go /site/backend ] -run %q[ apk del go git ] +run %q[ rm -rf /go /site/backend /root/sdk ] +run %q[ apk del git go1.8 ] ### Runtime cmd "/site/run.sh" |
