Skip to content

Commit 244704b

Browse files
committed
Dockerfile use wget instead of curl
Signed-off-by: the-snowwhite <producer@holotronic.dk>
1 parent 90c0791 commit 244704b

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

debian/buildsystem/Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ RUN apt-get update &&
6464
RUN apt-get update && \
6565
apt-get install -y \
6666
curl \
67+
wget \
6768
apt-transport-https \
6869
lsb-release \
6970
ca-certificates && \
@@ -118,13 +119,7 @@ RUN apt-get update && \
118119
apt-get clean;
119120

120121
# Kitware is publishing pre-built binaries only for amd64 and arm64 architectures!
121-
RUN curl \
122-
--connect-timeout 30 \
123-
--max-time 30 \
124-
--retry 30 \
125-
--retry-delay 5 \
126-
--retry-max-time 40 \
127-
https://api.github.com/repos/kitware/cmake/releases/latest --output /tmp/parsefile --silent
122+
RUN until wget -O /tmp/parsefile "https://api.github.com/repos/kitware/cmake/releases/latest"; do sleep 60 ; done
128123

129124
RUN curl -1vLf \
130125
$( jq -r --arg FILE "cmake-\d{1,}\.\d{1,}\.\d{1,}(-.{1,})?-linux-$(dpkg-architecture -qDEB_BUILD_GNU_CPU)\.sh" \

0 commit comments

Comments
 (0)