From 4de10e1ba8bf9d85f3f3d95b2aac05887f7ad4b1 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 30 Nov 2014 21:39:59 -0600 Subject: [PATCH] Reposition ES_VERSION after apt-get operations --- elasticsearch/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index 4cdc870f..c92143c0 100644 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -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 && \