<gh_stars>1-10
FROM ubuntu

RUN mkdir -p /bin/lindb
WORKDIR /bin/lindb

COPY ./bin .

RUN ./lind broker initialize-config \
    && ./lind storage initialize-config \
    && sed -i 's:localhost:etcd:g' broker.toml \
    && sed -i 's:localhost:etcd:g' storage.toml

EXPOSE 9000
EXPOSE 2891