tell curl to follow redirects

This commit is contained in:
Grant Limberg 2020-06-12 13:56:44 -07:00
parent 81b11168c9
commit 405250ce79
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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