Build elastic/beats for Raspberry Pi
1.1K
This repository provides a Docker image to cross compile elastic/beats components for Raspberry Pi (ARMv7 architecture).
The image has a couple of ENV vars that can be used for customizing what and how to build:
GOARCH=arm - the target architecture, arm for RaspberryPiGOARM=7 - ARM architecture version - 7 for RasperryPi 3BEATS=filebeat,metricbeat - comma-separated list of beats to compileBEATS_VERSION=7.14.0 - version to compiledocker build -t tschaffter/beats4pi:latest .
These commands will clone the repository of elastic/beats, build the selected beats components and output the build result in the current folder:
git clone https://github.com/elastic/beats.git
docker run --rm \
-v $(pwd)/beats:/go/src/github.com/elastic/beats \
-v $(pwd):/build \
-e BEATS_VERSION=7.14.0 \
tschaffter/beats4pi:latest
This project has been forked from andig/beats4pi.
Content type
Image
Digest
Size
330 MB
Last updated
about 5 years ago
docker pull tschaffter/beats4pi