You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by do...@apache.org on 2022/10/11 18:07:27 UTC

[accumulo-testing] branch main updated: Update Dockerfile (#241)

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

domgarguilo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git


The following commit(s) were added to refs/heads/main by this push:
     new d201810  Update Dockerfile (#241)
d201810 is described below

commit d201810e3a62bb45cbd63f319c7ac90902e5faec
Author: Dom G <do...@apache.org>
AuthorDate: Tue Oct 11 14:07:22 2022 -0400

    Update Dockerfile (#241)
    
    * update to java 11
    * use correct path to log4j2 properties
---
 Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index e432a95..cef9f6e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,8 +20,8 @@ ARG HADOOP_USER_NAME
 ENV HADOOP_HOME ${HADOOP_HOME}
 ENV HADOOP_USER_NAME ${HADOOP_USER_NAME:-hadoop}
 
-RUN yum install -y java-1.8.0-openjdk-devel
-ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk
+RUN yum install -y java-11-openjdk-devel
+ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
 
 ENV HADOOP_API_JAR /opt/at/hadoop-client-api.jar
 ENV HADOOP_RUNTIME_JAR /opt/at/hadoop-client-runtime.jar
@@ -36,7 +36,7 @@ RUN mkdir /opt/at/conf
 
 COPY ./conf/accumulo-client.properties /opt/at/conf/
 COPY ./conf/accumulo-testing.properties /opt/at/conf/
-COPY ./conf/log4j.properties* /opt/at/conf/
+COPY ./conf/log4j2.properties* /opt/at/conf/
 RUN touch /opt/at/conf/env.sh
 
 COPY ./bin/build /opt/at/bin