forked from aws/aws-for-fluent-bit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.plugins
More file actions
23 lines (18 loc) · 859 Bytes
/
Dockerfile.plugins
File metadata and controls
23 lines (18 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM golang:1.12
ENV GO111MODULE=on
# Firehose
ARG FIREHOSE_PLUGIN_CLONE_URL=https://github.com/ZEPL/amazon-kinesis-firehose-for-fluent-bit.git
ARG FIREHOSE_PLUGIN_BRANCH=master
RUN git clone $FIREHOSE_PLUGIN_CLONE_URL /go/src/github.com/aws/amazon-kinesis-firehose-for-fluent-bit
WORKDIR /go/src/github.com/aws/amazon-kinesis-firehose-for-fluent-bit
RUN git fetch && git checkout $FIREHOSE_PLUGIN_BRANCH
RUN go mod download
RUN make release
# CloudWatch
ARG CLOUDWATCH_PLUGIN_CLONE_URL=https://github.com/aws/amazon-cloudwatch-logs-for-fluent-bit.git
ARG CLOUDWATCH_PLUGIN_BRANCH=master
RUN git clone $CLOUDWATCH_PLUGIN_CLONE_URL /go/src/github.com/aws/amazon-cloudwatch-logs-for-fluent-bit
WORKDIR /go/src/github.com/aws/amazon-cloudwatch-logs-for-fluent-bit
RUN git fetch && git checkout $CLOUDWATCH_PLUGIN_BRANCH
RUN go mod download
RUN make release