22 lines
593 B
Text
22 lines
593 B
Text
|
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
|
||
|
|
||
|
RUN pip install --upgrade pip
|
||
|
RUN pip install --upgrade setuptools
|
||
|
RUN pip install --upgrade docker-compose==1.21.0
|
||
|
|
||
|
# Setup work environment
|
||
|
ENV METRICBEAT_PATH /go/src/github.com/elastic/beats/metricbeat
|
||
|
|
||
|
RUN mkdir -p $METRICBEAT_PATH/build/coverage
|
||
|
WORKDIR $METRICBEAT_PATH
|
||
|
|
||
|
# Add healthcheck for docker/healthcheck metricset to check during testing
|
||
|
HEALTHCHECK CMD exit 0
|