Skip to content

Commit

Permalink
Add openjdk-8-jdk to Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyboucher committed Jun 7, 2019
1 parent a787a60 commit 3a1a1ee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cli/Dockerfile
Expand Up @@ -18,5 +18,14 @@ RUN apt-get update && apt-get -y --no-install-recommends install curl \
&& rm docker-${DOCKERVERSION}.tgz \
&& rm -rf /var/lib/apt/lists/*

# Install OpenJDK-8
RUN apt-get update && \
apt-get install -y openjdk-8-jdk && \
apt-get clean;

# Setup JAVA_HOME, this is useful for docker commandline
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
RUN export JAVA_HOME

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 3a1a1ee

Please sign in to comment.