diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6818361 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM alpine:3.4 + +RUN apk --no-cache add go git &&\ + mkdir /go &&\ + export GOPATH=/go &&\ + go get -v github.com/fern4lvarez/piladb/pilad &&\ + go build -o /pilad -ldflags "-s -w" github.com/fern4lvarez/piladb/pilad &&\ + rm -rf /go &&\ + apk del go git + +ENTRYPOINT ["/pilad"] \ No newline at end of file diff --git a/README.md b/README.md index e7d80b0..920df68 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -piladb [![Build Status](https://travis-ci.org/fern4lvarez/piladb.svg?branch=master)](https://travis-ci.org/fern4lvarez/piladb) [![GoDoc](https://godoc.org/github.com/fern4lvarez/piladb?status.svg)](https://godoc.org/github.com/fern4lvarez/piladb) [![Go Report Card](https://goreportcard.com/badge/github.com/fern4lvarez/piladb)](https://goreportcard.com/report/github.com/fern4lvarez/piladb) [![osw](https://img.shields.io/badge/%E2%89%85osw-supported-blue.svg)](http://oscillating.works) +piladb [![Build Status](https://travis-ci.org/fern4lvarez/piladb.svg?branch=master)](https://travis-ci.org/fern4lvarez/piladb) [![GoDoc](https://godoc.org/github.com/fern4lvarez/piladb?status.svg)](https://godoc.org/github.com/fern4lvarez/piladb) [![Go Report Card](https://goreportcard.com/badge/github.com/fern4lvarez/piladb)](https://goreportcard.com/report/github.com/fern4lvarez/piladb) [![osw](https://img.shields.io/badge/%E2%89%85osw-supported-blue.svg)](http://oscillating.works) [![](https://images.microbadger.com/badges/image/fern4lvarez/piladb.svg)](https://microbadger.com/images/fern4lvarez/piladb) ====== ![Logo](http://i.imgur.com/tjQbm56.png)