This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The subsequent removal of openssl was removing ca-certificates and `/etc/ssl`. This causes the tls options to fail on output plugins. This change rearranges the order to ensure CA certificates will be present.
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM gcr.io/google-containers/debian-base-amd64:0.1 | ||
MAINTAINER Eduardo Silva <[email protected]> | ||
LABEL Description="Fluent Bit docker image" Vendor="Fluent Organization" Version="1.1" | ||
|
||
# Fluent Bit version | ||
ENV FLB_MAJOR 0 | ||
ENV FLB_MINOR 12 | ||
ENV FLB_PATCH 5 | ||
ENV FLB_VERSION 0.12.5 | ||
|
||
ENV FLB_TARBALL http://github.com/fluent/fluent-bit/archive/v$FLB_VERSION.zip | ||
|
||
RUN mkdir -p /fluent-bit/bin /fluent-bit/etc /fluent-bit/log | ||
|
||
RUN apt-get -qq update \ | ||
&& apt-get install -y -qq \ | ||
build-essential \ | ||
cmake \ | ||
make \ | ||
wget \ | ||
unzip \ | ||
libsystemd-dev \ | ||
&& wget -O "/tmp/fluent-bit-${FLB_VERSION}.zip" ${FLB_TARBALL} \ | ||
&& cd /tmp && unzip "fluent-bit-$FLB_VERSION.zip" \ | ||
&& cd "fluent-bit-$FLB_VERSION"/build/ \ | ||
&& cmake -DFLB_DEBUG=On -DFLB_TRACE=On -DFLB_JEMALLOC=On -DFLB_BUFFERING=On ../ \ | ||
&& make \ | ||
&& install bin/fluent-bit /fluent-bit/bin/ \ | ||
&& apt-get remove --purge --auto-remove -y -qq \ | ||
build-essential \ | ||
cmake \ | ||
make \ | ||
wget \ | ||
unzip \ | ||
libsystemd-dev \ | ||
bzip2 \ | ||
openssl \ | ||
manpages \ | ||
&& apt-get install -y -qq --no-install-recommends ca-certificates \ | ||
&& rm -rf /tmp/* | ||
|
||
# Configuration files | ||
COPY fluent-bit.conf /fluent-bit/etc/ | ||
COPY parsers.conf /fluent-bit/etc/ | ||
COPY parsers_java.conf /fluent-bit/etc/ | ||
|
||
# Entry point | ||
CMD ["/fluent-bit/bin/fluent-bit", "-c", "/fluent-bit/etc/fluent-bit.conf"] |