go mini container
This commit is contained in:
parent
597863921a
commit
8a9f120b79
|
@ -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
|
||||||
|
```
|
|
@ -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"
|
Loading…
Reference in New Issue