From 6d981cf137779695bf55d1cb731adb75a2735feb Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Del Cantoni Date: Sat, 10 Dec 2016 16:03:08 -0200 Subject: [PATCH] Remoção de arquivo de instalação do Solr 6.1.0 --- solr/Dockerfile | 1 - solr/install.sh | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/solr/Dockerfile b/solr/Dockerfile index 697fd04..c35e195 100644 --- a/solr/Dockerfile +++ b/solr/Dockerfile @@ -11,7 +11,6 @@ MAINTAINER Guilherme Andrade Del Cantoni ############################# INÍCIO DA INSTALAÇÃO ############################# ENV TERM xterm -COPY assets/solr-6.1.0.tgz /tmp/ COPY assets/index/* /tmp/ COPY assets/sei-solr-6.1.0.sh /tmp/sei-solr-6.1.0.sh COPY install.sh /install.sh diff --git a/solr/install.sh b/solr/install.sh index 7130df4..b20ceee 100644 --- a/solr/install.sh +++ b/solr/install.sh @@ -4,7 +4,11 @@ set -e # Instalação do pacote Java JDK e utilitários utilizados no provisionamento #apk update && apk add lsof curl bash openjdk8-jre -yum -y update && yum -y install lsof curl java-1.8.0-openjdk +yum -y update && yum -y install lsof curl wget java-1.8.0-openjdk + +# Download do Solr, versão 6.1.0 +SOLR_URL=https://archive.apache.org/dist/lucene/solr/6.1.0/solr-6.1.0.tgz +wget -nv $SOLR_URL -O /tmp/solr-6.1.0.tgz # Instalação do Apache Solr 6.1 sh /tmp/sei-solr-6.1.0.sh -- libgit2 0.21.2