mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Added initial Dockerfile and docker target
This commit is contained in:
parent
c2253a36ea
commit
741c073dd0
2 changed files with 14 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM scratch
|
||||
|
||||
MAINTAINER Pilosa Corp. <engineering@pilosa.com>
|
||||
|
||||
ENV DATA_DIR /data
|
||||
EXPOSE 15000
|
||||
VOLUME /data
|
||||
|
||||
COPY ./pilosa /pilosa
|
||||
|
||||
ENTRYPOINT ["/pilosa"]
|
||||
3
Makefile
3
Makefile
|
|
@ -5,3 +5,6 @@ default:
|
|||
vendor:
|
||||
godep save ./...
|
||||
cp -r $(GOPATH)/src/github.com/gogo/protobuf/proto/testdata vendor/github.com/gogo/protobuf/proto/testdata
|
||||
|
||||
docker:
|
||||
CGO_ENABLED=0 go build github.com/pilosa/pilosa/cmd/pilosa && docker build -t pilosa:latest .
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue