Skip to content

Commit

Permalink
fixed invalid version inside Dockerfile for release v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolaos Fountas committed Jul 25, 2015
1 parent 22bbb19 commit 05026ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM jetty:9.2.12-jre7
MAINTAINER Nikos Fountas "nikfoundas@gmail.com"

# select the release to download
ENV VIEWER_VERSION latest
#ENV VIEWER_VERSION tags/1.1
#ENV VIEWER_VERSION latest
ENV VIEWER_VERSION tags/v1.1

RUN curl --silent -X GET https://api.github.com/repos/nikfoundas/etcd-viewer/releases/${VIEWER_VERSION} | sed -n 's|.*\"browser_download_url\": \"\(.*\)\".*|\1|p' > /tmp/etcd-viewer-release-archive
RUN curl --silent -L `cat /tmp/etcd-viewer-release-archive` > /var/lib/jetty/webapps/ROOT.war
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.github.etcd</groupId>
<artifactId>etcd-viewer</artifactId>
<version>1.2-SNAPSHOT</version>
<version>1.1</version>

<packaging>war</packaging>

Expand Down

0 comments on commit 05026ee

Please sign in to comment.