mirror of https://github.com/hnrd/chronix
11 lines
287 B
Docker
11 lines
287 B
Docker
FROM golang:alpine
|
|
|
|
RUN apk add --no-cache git &&\
|
|
go get github.com/ChronixDB/chronix.ingester &&\
|
|
mkdir /cache &&\
|
|
apk del git
|
|
|
|
EXPOSE 8080
|
|
VOLUME /cache
|
|
CMD [ "/go/bin/chronix.ingester", "-checkpoint-file=/cache/checkpoint.db", "-chronix-url=http://chronix:8983/solr/chronix" ]
|