瀏覽代碼

tell curl to follow redirects

Grant Limberg 5 年之前
父節點
當前提交
405250ce79
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      dockerbuild/Dockerfile.debian-stretch
  2. 1 1
      dockerbuild/Dockerfile.ubuntu-xenial

+ 1 - 1
dockerbuild/Dockerfile.debian-stretch

@@ -7,7 +7,7 @@ RUN apt-get update && apt-get -y install build-essential curl ca-certificates de
 RUN curl -s -k $go_pkg_url -o go.tar.gz && \
     tar -C /usr/local -xzf go.tar.gz && \
     rm go.tar.gz
-RUN curl -s https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh -o cmake.sh && \
+RUN curl -s -L https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh -o cmake.sh && \
     chmod +x cmake.sh && \
     ./cmake.sh && \
     rm cmake.sh

+ 1 - 1
dockerbuild/Dockerfile.ubuntu-xenial

@@ -7,7 +7,7 @@ RUN apt-get update && apt-get -y install build-essential curl ca-certificates de
 RUN curl -s -k $go_pkg_url -o go.tar.gz && \
     tar -C /usr/local -xzf go.tar.gz && \
     rm go.tar.gz
-RUN curl -s https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh -o cmake.sh && \
+RUN curl -s -L https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh -o cmake.sh && \
     chmod +x cmake.sh && \
     ./cmake.sh && \
     rm cmake.sh