Skip to content

Commit

Permalink
Add sleep as workaround (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
haxorof committed Aug 5, 2017
1 parent 55062db commit d090335
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ARG PKG_URL=https://github.com/chop-dbhi/prometheus-sql/releases/download/$PROME
RUN apk update
RUN apk add curl

# Workaround to publish Github release before curl fetches it.
RUN sleep 60

RUN mkdir -p /opt/prometheus-sql/bin \
&& curl --retry 5 --retry-delay 15 --retry-max-time 120 -SL $PKG_URL \
| tar -xzC /opt/prometheus-sql/bin \
Expand Down

0 comments on commit d090335

Please sign in to comment.