go mini container

This commit is contained in:
Cadey Ratio 2017-02-17 17:59:54 -08:00
parent 597863921a
commit 8a9f120b79
2 changed files with 26 additions and 0 deletions

17
lang/go-mini/README.md Normal file
View File

@ -0,0 +1,17 @@
go-mini
=======
For when you need to keep things simple.
```ruby
# box.rb
# https://github.com/erikh/box
from "xena/go-mini:1.8"
run "go1.8 download"
# ... do your build
run "rm -rf $HOME/sdk"
flatten
```

9
lang/go-mini/box.rb Normal file
View File

@ -0,0 +1,9 @@
from "xena/alpine"
run %q[ apk add -U openssl \
&& wget https://xena.greedo.xeserv.us/pkg/bin/go1.8-linux-amd64-glibc.gz -O go1.8.gz \
&& gunzip go1.8.gz && mv go1.8 /usr/local/bin \
&& apk del openssl]
flatten
tag "xena/go-mini:1.8"