From d1d8e46528a86e7b201260f1a33724e08a01648a Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Del Cantoni Date: Wed, 12 Apr 2017 14:38:36 -0300 Subject: [PATCH] Instalação do pacote de fontes do windows no container do Apache Solr --- Dockerfile | 1 + assets/msttcore-fonts-2.0-3.noarch.rpm | Bin 0 -> 3483200 bytes install.sh | 6 ++++++ 3 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 assets/msttcore-fonts-2.0-3.noarch.rpm diff --git a/Dockerfile b/Dockerfile index c35e195..8fe81ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ MAINTAINER Guilherme Andrade Del Cantoni ############################# INÍCIO DA INSTALAÇÃO ############################# ENV TERM xterm +COPY assets/msttcore-fonts-2.0-3.noarch.rpm /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/assets/msttcore-fonts-2.0-3.noarch.rpm b/assets/msttcore-fonts-2.0-3.noarch.rpm new file mode 100644 index 0000000..e2bf72a Binary files /dev/null and b/assets/msttcore-fonts-2.0-3.noarch.rpm differ diff --git a/install.sh b/install.sh index b20ceee..b5ba870 100644 --- a/install.sh +++ b/install.sh @@ -6,6 +6,12 @@ set -e #apk update && apk add lsof curl bash openjdk8-jre yum -y update && yum -y install lsof curl wget java-1.8.0-openjdk +# Instalação de pacote de fontes do windows +rpm -Uvh /tmp/msttcore-fonts-2.0-3.noarch.rpm + +# Configuração do pacote de línguas pt_BR +localedef pt_BR -i pt_BR -f ISO-8859-1 + # 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 -- libgit2 0.21.2