Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Commit ac5bac8

Browse files
authored
Add JAVA_HOME env variable
1 parent 908c4b2 commit ac5bac8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | te
1313
&& apt-get -y install oracle-java8-set-default
1414

1515
ENV JAVA_TOOL_OPTIONS -Dfile.encoding=UTF8
16+
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle/jre/
1617

1718
RUN java -version

0 commit comments

Comments
 (0)