Commit d111449ccb0caf4b4bbbb1052b15761961558d35

Authored by Guilherme Andrade Del Cantoni
1 parent c61ea745
Exists in master

Instalação do pacote de fontes do windows no container do Apache Solr

solr/Dockerfile
@@ -11,6 +11,7 @@ MAINTAINER Guilherme Andrade Del Cantoni <guilherme.cantoni@planejamento.gov.br> @@ -11,6 +11,7 @@ MAINTAINER Guilherme Andrade Del Cantoni <guilherme.cantoni@planejamento.gov.br>
11 ############################# INÍCIO DA INSTALAÇÃO ############################# 11 ############################# INÍCIO DA INSTALAÇÃO #############################
12 ENV TERM xterm 12 ENV TERM xterm
13 13
  14 +COPY assets/msttcore-fonts-2.0-3.noarch.rpm /tmp
14 COPY assets/index/* /tmp/ 15 COPY assets/index/* /tmp/
15 COPY assets/sei-solr-6.1.0.sh /tmp/sei-solr-6.1.0.sh 16 COPY assets/sei-solr-6.1.0.sh /tmp/sei-solr-6.1.0.sh
16 COPY install.sh /install.sh 17 COPY install.sh /install.sh
solr/assets/msttcore-fonts-2.0-3.noarch.rpm 0 → 100644
No preview for this file type
solr/install.sh
@@ -6,6 +6,12 @@ set -e @@ -6,6 +6,12 @@ set -e
6 #apk update && apk add lsof curl bash openjdk8-jre 6 #apk update && apk add lsof curl bash openjdk8-jre
7 yum -y update && yum -y install lsof curl wget java-1.8.0-openjdk 7 yum -y update && yum -y install lsof curl wget java-1.8.0-openjdk
8 8
  9 +# Instalação de pacote de fontes do windows
  10 +rpm -Uvh /tmp/msttcore-fonts-2.0-3.noarch.rpm
  11 +
  12 +# Configuração do pacote de línguas pt_BR
  13 +localedef pt_BR -i pt_BR -f ISO-8859-1
  14 +
9 # Download do Solr, versão 6.1.0 15 # Download do Solr, versão 6.1.0
10 SOLR_URL=https://archive.apache.org/dist/lucene/solr/6.1.0/solr-6.1.0.tgz 16 SOLR_URL=https://archive.apache.org/dist/lucene/solr/6.1.0/solr-6.1.0.tgz
11 wget -nv $SOLR_URL -O /tmp/solr-6.1.0.tgz 17 wget -nv $SOLR_URL -O /tmp/solr-6.1.0.tgz