Update elasticsearch to version 7.17.0
base image have been modified multiple times:
for version 7.8.1 it was `CentOS Linux 7 (Core)` [1]
for version 7.10.0 it was `CentOs Linux 8` [2]
for version 7.16.0,7.17.0 it is `Ubuntu 20.04.3 LTS` [3]
Link: elastic/dockerfiles#47 [1]
Link: elastic/dockerfiles#56 [2]
Link: elastic/dockerifles#89 [3]
-FROM docker.elastic.co/elasticsearch/elasticsearch:7.8.1
+FROM docker.elastic.co/elasticsearch/elasticsearch:7.17.0
ENV discovery.type=single-node
-RUN yum -y update && \
- yum -y install centos-release-scl && \
- yum -y install rh-python38 python-virtualenv which
+RUN apt update && \
+ apt install python3-pip -y
+RUN pip3 install virtualenv
RUN mkdir /opt/test-runner/ /opt/test-runner/logs/
-RUN source scl_source enable rh-python38 && \
- virtualenv -p $(which python) /opt/test-runner/
+RUN virtualenv -p $(which python3) /opt/test-runner/
ENV SCOPE_CRIBL_ENABLE=false
ENV SCOPE_OUT_DEST=udp://localhost:8125
@@ -19,7 +18,6 @@ ENV SCOPE_EVENT_LOGFILE=true
ENV SCOPE_EVENT_CONSOLE=true
ENV SCOPE_EVENT_METRIC=true
ENV SCOPE_EVENT_HTTP=true
-#ENV SCOPE_EVENT_DEST=tcp://172.16.198.132:9109
COPY ./test_runner/requirements.txt /opt/test-runner/requirements.txt
RUN /opt/test-runner/bin/pip install -r /opt/test-runner/requirements.txt
