youtubebeat/vendor/github.com/elastic/beats/libbeat/Dockerfile

22 lines
639 B
Text
Raw Normal View History

2018-11-18 11:08:38 +01:00
# Beats dockerfile used for testing
FROM golang:1.10.3
MAINTAINER Nicolas Ruflin <ruflin@elastic.co>
RUN set -x && \
apt-get update && \
apt-get install -y --no-install-recommends \
netcat python-pip virtualenv && \
apt-get clean
ENV PYTHON_ENV=/tmp/python-env
RUN test -d ${PYTHON_ENV} || virtualenv ${PYTHON_ENV}
COPY ./tests/system/requirements.txt /tmp/requirements.txt
# Upgrade pip to make sure to have the most recent version
RUN . ${PYTHON_ENV}/bin/activate && pip install -U pip
RUN . ${PYTHON_ENV}/bin/activate && pip install -Ur /tmp/requirements.txt
# Libbeat specific
RUN mkdir -p /etc/pki/tls/certs