aboutsummaryrefslogtreecommitdiff
path: root/docker/skydive
diff options
context:
space:
mode:
authorSergei Chekanov <chekanovsm@gmail.com>2021-03-02 17:23:23 +0300
committerSergei Chekanov <chekanovsm@gmail.com>2021-03-02 17:28:59 +0300
commit61def281d077f88051d1b1a14dfdbfabac036c8c (patch)
tree70e0112b04b6c96b7cae07732b17f2b569c52812 /docker/skydive
parent8d70e3f0cc3681c6f786ccbe076cd6a028998857 (diff)
downloadkolla-61def281d077f88051d1b1a14dfdbfabac036c8c.tar.gz
kolla-61def281d077f88051d1b1a14dfdbfabac036c8c.zip
Fix error when github return 302
-L for curl: If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place It fixes build error for me: INFO:kolla.common.utils.prometheus-v2-server: ---> Running in 693fd4095c77 INFO:kolla.common.utils.prometheus-v2-server:curl (https://github.com/prometheus/prometheus/releases/download/v2.23.0/prometheus-2.23.0.linux-amd64.tar.gz): response: 302, time: 0.166583, size: 640 INFO:kolla.common.utils.prometheus-v2-server: INFO:kolla.common.utils.prometheus-v2-server:gzip: stdin: not in gzip format INFO:kolla.common.utils.prometheus-v2-server: INFO:kolla.common.utils.prometheus-v2-server:tar: Child returned status 1 INFO:kolla.common.utils.prometheus-v2-server:tar: Error is not recoverable: exiting now Change-Id: I095ca6f34cc7c7bca485e9ec019cc52aeb8e3ff4
Diffstat (limited to 'docker/skydive')
-rw-r--r--docker/skydive/skydive-base/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/skydive/skydive-base/Dockerfile.j2 b/docker/skydive/skydive-base/Dockerfile.j2
index b75efd7a4..8542f5198 100644
--- a/docker/skydive/skydive-base/Dockerfile.j2
+++ b/docker/skydive/skydive-base/Dockerfile.j2
@@ -15,7 +15,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
RUN echo 'image on {{ base_distro }} is not yet available on non x86_64 platforms' \
&& /bin/false
{% else %}
-RUN curl -o /usr/bin/skydive "https://github.com/skydive-project/skydive/releases/download/v0.26.0/skydive" \
+RUN curl -Lo /usr/bin/skydive "https://github.com/skydive-project/skydive/releases/download/v0.26.0/skydive" \
&& chmod +x /usr/bin/skydive
{% endif %}