You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/22 05:13:23 UTC

[lucene-solr] branch reference_impl updated: @292 Smaller image.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl by this push:
     new 9b92388  @292 Smaller image.
9b92388 is described below

commit 9b92388591c9eb924bbed057232923630e595214
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 22 00:13:08 2020 -0500

    @292 Smaller image.
---
 solr/reference_branch/prod/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/reference_branch/prod/Dockerfile b/solr/reference_branch/prod/Dockerfile
index c258aa8..5abe8c6 100644
--- a/solr/reference_branch/prod/Dockerfile
+++ b/solr/reference_branch/prod/Dockerfile
@@ -1,4 +1,4 @@
-FROM openjdk:11
+FROM ubuntu:20.04
 
 ENV BUILD_DIR=/build/solr
 ENV INSTALL_DIR=/opt/solr
@@ -10,7 +10,7 @@ ADD start-solr.sh /start-solr.sh
 
 RUN chmod +x /start-solr.sh
 
-RUN apt-get -y update; apt-get -y upgrade; apt-get -y install ant
+RUN apt-get -y update; apt-get -y upgrade; apt-get -y install openjdk-11-jdk; apt-get -y install ant; apt-get -y install git
 
 RUN cd "${BUILD_DIR}"; git clone https://github.com/apache/lucene-solr.git --branch reference_impl --single-branch reference_impl; \
 cd "${BUILD_DIR}/reference_impl"; ant ivy-bootstrap;cd solr; ant package -Dversion=9.0.0-miller_ref_impl; \