mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-22 08:40:03 +01:00
13 lines
309 B
Docker
13 lines
309 B
Docker
|
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
|