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 Aug 3, 2019
1 parent 91a7058 commit dbc697b
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 dbc697b

Please sign in to comment.