github.com/observiq/carbon@v0.9.11-0.20200820160507-1b872e368a5e/Dockerfile (about)

     1  FROM ubuntu:bionic
     2  
     3  RUN mkdir -p /carbon_home
     4  ENV CARBON_HOME=/carbon_home
     5  RUN echo "pipeline:\n" >> /carbon_home/config.yaml
     6  RUN apt-get update && apt-get install -y systemd ca-certificates
     7  
     8  COPY ./artifacts/carbon_linux_amd64 /carbon_home/carbon
     9  COPY ./artifacts/carbon-plugins.tar.gz /tmp/carbon-plugins.tar.gz
    10  RUN tar -zxvf /tmp/carbon-plugins.tar.gz -C /carbon_home/
    11  ENTRYPOINT /carbon_home/carbon \
    12    --config /carbon_home/config.yaml \
    13    --database /carbon_home/carbon.db \
    14    --plugin_dir /carbon_home/plugins