diff --git a/Dockerfile b/Dockerfile index 697fd04..c35e195 100644 --- a/Dockerfile +++ b/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/install.sh b/install.sh index 7130df4..b20ceee 100644 --- a/install.sh +++ b/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