0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
posthog/vector/replay-capture/Dockerfile

13 lines
309 B
Docker
Raw Normal View History

FROM alpine as config-builder
RUN apk add -U yq
WORKDIR /config
COPY vector.yaml .
# evaluate with yq, basically to expand anchors (which vector doesn't support)
RUN yq -i e 'explode(.)' vector.yaml
FROM timberio/vector:0.40.X-alpine
COPY --from=config-builder /config/vector.yaml /etc/vector/vector.yaml