Skip to content

Commit

Permalink
Added Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
odhekar authored Jan 23, 2020
1 parent 2821db9 commit 5cc54b7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ARG JVER=11.0.5_p10-r0
FROM docker:stable

#Ref https://github.com/docker-library/openjdk/blob/47a6539cd18023dafb45db9013455136cc0bca07/8/jdk/alpine/Dockerfile

ENV JAVA_HOME /usr/lib/jvm/default-jvm
ENV PATH $PATH:/usr/lib/jvm/default-jvm/jre/bin:/usr/lib/jvm/default-jvm/bin

RUN set -x \
&& apk add --no-cache openjdk11-jdk="$JVER"

0 comments on commit 5cc54b7

Please sign in to comment.