Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
make variable for version
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Cole committed Jul 13, 2019
1 parent 7d66954 commit 9f4ebab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zipkin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ FROM alpine

ENV USER anuraaga
ENV BRANCH elasticsearch-armeria
ENV VERSION SNAPSHOT

# Add environment settings for supported storage types
COPY zipkin/ /zipkin/
WORKDIR /zipkin

RUN apk add unzip curl --no-cache && \
curl -SL https://jitpack.io/com/github/$USER/zipkin/zipkin-server/$BRANCH-SNAPSHOT/zipkin-server-$BRANCH-SNAPSHOT-exec.jar > zipkin-server.jar && \
curl -SL https://jitpack.io/com/github/$USER/zipkin/zipkin-server/$BRANCH-$VERSION/zipkin-server-$BRANCH-$VERSION-exec.jar > zipkin-server.jar && \
# don't break when unzip finds an extra header https://github.com/openzipkin/zipkin/issues/1932
unzip zipkin-server.jar ; \
rm zipkin-server.jar && \
Expand Down

0 comments on commit 9f4ebab

Please sign in to comment.