otel-collector/Dockerfile

11 lines
298 B
Docker
Raw Permalink Normal View History

2021-09-20 23:13:03 +00:00
ARG REPO_ARCH=arm64v8
FROM asonix/rust-runner:$REPO_ARCH-latest
COPY ./artifacts/otelcol-custom /usr/local/bin/opentelemetry-collector
2021-09-20 23:39:49 +00:00
COPY ./otelcol.yaml /opt/app/otelcol.yaml
2021-09-20 23:13:03 +00:00
EXPOSE 4317
2021-09-20 23:39:49 +00:00
ENTRYPOINT ["/sbin/tini", "--"]
CMD /usr/local/bin/opentelemetry-collector --config=/opt/app/otelcol.yaml