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

Commit

Permalink
DO NOT MERGE: jitpack based zipkin build
Browse files Browse the repository at this point in the history
So, we should figure out how to cut images mostly for master, but
possibly for feature branches also. This is just a dockerfile edit, but
maybe helpful to start elaborating what something real might look like.
  • Loading branch information
Adrian Cole committed Jun 21, 2019
1 parent 79c886c commit 8bb0581
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zipkin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

FROM alpine

ENV ZIPKIN_REPO https://repo1.maven.org/maven2
ENV ZIPKIN_VERSION 2.14.2
ENV USER openzipkin
ENV BRANCH master

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

RUN apk add unzip curl --no-cache && \
curl -SL $ZIPKIN_REPO/io/zipkin/zipkin-server/$ZIPKIN_VERSION/zipkin-server-$ZIPKIN_VERSION-exec.jar > zipkin-server.jar && \
curl -SL https://jitpack.io/com/github/$USER/zipkin/zipkin-server/$BRANCH-SNAPSHOT/zipkin-server-$BRANCH-SNAPSHOT-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 8bb0581

Please sign in to comment.