Add a http performance test script based on wrk
[iec.git] / src / use_cases / seba_on_arm / patches / beats-docker / 0001-Correct-path-errors-and-tar-command-errors.patch
1 From f13d46ea72f5e0d9e8a43a10b19b9914ece25d02 Mon Sep 17 00:00:00 2001
2 From: jialv01 <Jianlin.Lv@arm.com>
3 Date: Mon, 15 Apr 2019 21:29:50 +0800
4 Subject: [PATCH] Correct path errors and tar command errors
5
6 Correct path errors and tar command errors
7
8 Signed-off-by: jialv01 <Jianlin.Lv@arm.com>
9 ---
10  templates/Dockerfile.j2 | 4 ++--
11  1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/templates/Dockerfile.j2 b/templates/Dockerfile.j2
14 index 9cdcb4a..31ed20b 100644
15 --- a/templates/Dockerfile.j2
16 +++ b/templates/Dockerfile.j2
17 @@ -24,8 +24,8 @@ FROM centos:7
18  
19  RUN yum update -y && yum install -y curl && yum clean all
20  
21 -COPY --from=golang /go/src/github.com/alexandruavadanii/beats/{{ beat }}/build/distributions/{{ beat }}-{{ elastic_version }}-linux-arm64.tar.gz /tmp
22 -RUN tar zxf /tmp/FIXME -C /tmp && \
23 +COPY --from=golang /go/src/github.com/elastic/beats/{{ beat }}/build/distributions/{{ beat }}-{{ elastic_version }}-linux-arm64.tar.gz /tmp
24 +RUN tar zxf /tmp/{{ beat }}-{{ elastic_version }}-linux-arm64.tar.gz -C /tmp && \
25      mv /tmp/{{ beat }}-{{ elastic_version }}-linux-arm64 {{ beat_home }} && \
26      rm /tmp/{{ beat }}-{{ elastic_version }}-linux-arm64.tar.gz
27  
28 -- 
29 2.17.1
30