Skip to content

Commit

Permalink
Add curl retries (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
haxorof committed Aug 5, 2017
1 parent bfdee36 commit 55062db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apk update
RUN apk add curl

RUN mkdir -p /opt/prometheus-sql/bin \
&& curl -SL $PKG_URL \
&& curl --retry 5 --retry-delay 15 --retry-max-time 120 -SL $PKG_URL \
| tar -xzC /opt/prometheus-sql/bin \
&& ln -s /opt/prometheus-sql/bin/linux-amd64/prometheus-sql /usr/local/bin/

Expand Down

0 comments on commit 55062db

Please sign in to comment.