Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 433 Bytes
FROM alpine:3.10 AS builder
WORKDIR /vector
COPY vector-*-unknown-linux-musl*.tar.gz ./
RUN tar -xvf vector-$(cat /etc/apk/arch)-unknown-linux-musl*.tar.gz --strip-components=2
FROM alpine:3.10
RUN apk update && apk add ca-certificates tzdata && rm -rf /var/cache/apk/*
COPY --from=builder /vector/bin/* /usr/local/bin/
COPY --from=builder /vector/config/vector.toml /etc/vector/vector.toml
ENTRYPOINT ["/usr/local/bin/vector"]
You can’t perform that action at this time.