Last active
August 29, 2015 14:27
-
-
Save agonzalezro/3405735989c967c11ff8 to your computer and use it in GitHub Desktop.
packetbeat Dockerfile
This file contains hidden or 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
| FROM phusion/baseimage:latest | |
| RUN apt-get update | |
| RUN apt-get -y -q install libpcap0.8 wget | |
| ENV VERSION=1.0.0-beta2 ARCH=x86_64 EXTENSION=tar.gz | |
| ENV FILENAME=packetbeat-${VERSION}-${ARCH}.${EXTENSION} | |
| RUN wget https://download.elastic.co/beats/packetbeat/${FILENAME} | |
| RUN tar zxvf ${FILENAME} | |
| WORKDIR packetbeat-${VERSION} | |
| ADD packetbeat.yml packetbeat.yml | |
| CMD ["./packetbeat", "-e", "-c=packetbeat.yml"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment