Reposition ES_VERSION after apt-get operations

This commit is contained in:
Geoff Bourne 2014-11-30 21:39:59 -06:00
parent 1a364ae733
commit 4de10e1ba8

View File

@ -1,10 +1,10 @@
FROM itzg/ubuntu-openjdk-7
MAINTAINER itzg
ENV ES_VERSION 1.4.1
RUN apt-get install -y wget && apt-get clean
ENV ES_VERSION 1.4.1
RUN wget -qO /tmp/es.tgz https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$ES_VERSION.tar.gz && \
cd /usr/share && \
tar xf /tmp/es.tgz && \