Filebeats Dockerfile Template

?
S
Bash

Install Filebeats via a Dockerfile

1FROM node:dubnium
2
3# Filebeats
4RUN \
5  apt-get update && \
6  apt-get install apt-transport-https && \
7  wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add - && \
8  apt-get install apt-transport-https ca-certificates && \
9  echo "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-7.x.list && \
10  apt-get update && \
11  apt-get install filebeat

Created on 11/24/2019