Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hazim1093 committed Jan 16, 2019
1 parent 40f293c commit 4a6897c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,8 @@ FROM stakater/pipeline-tools:SNAPSHOT-PR-8-13
# Default to UTF-8 file.encoding
ENV LANG C.UTF-8

# add a simple script that can auto-detect the appropriate JAVA_HOME value
# based on whether the JDK or only the JRE is installed
RUN { \
echo '#!/bin/sh'; \
echo 'set -e'; \
echo; \
echo 'readlink -f /usr/bin/java | sed "s:/bin/java::"'; \
} > /usr/local/bin/docker-java-home \
&& chmod +x /usr/local/bin/docker-java-home
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64
ENV PATH $PATH:${JAVA_HOME}/jre/bin:/usr/lib/jvm/${JAVA_HOME}/bin

ENV JAVA_VERSION 8u191
ENV JAVA_YUM_VERSION 1.8.0.191.b12

Expand Down

0 comments on commit 4a6897c

Please sign in to comment.