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

Commit 9f4ebab

Browse files
author
Adrian Cole
committed
make variable for version
1 parent 7d66954 commit 9f4ebab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zipkin/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ FROM alpine
1616

1717
ENV USER anuraaga
1818
ENV BRANCH elasticsearch-armeria
19+
ENV VERSION SNAPSHOT
1920

2021
# Add environment settings for supported storage types
2122
COPY zipkin/ /zipkin/
2223
WORKDIR /zipkin
2324

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

0 commit comments

Comments
 (0)