File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed
Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1+ artifacts /
2+ * .zip
3+ .DS_Store
Original file line number Diff line number Diff line change 1+ FROM debian:latest
2+
3+ ADD artifacts/ibm-java-x86_64-71 /opt/java/ibm-java-x86_64-71
4+
5+ ENV JAVA_HOME /opt/java/ibm-java-x86_64-71/jre
6+ ENV PATH $JAVA_HOME/bin:$PATH
7+
8+ ENTRYPOINT ["/opt/java/ibm-java-x86_64-71/jre/bin/java" ]
9+ CMD ["" ]
Original file line number Diff line number Diff line change 1- # docker-ibm-java
1+ # Docker Image for IBM Java Runtime Engine
2+
3+ This docker image will create a base container including the IBM JRE as a basis for other containers.
4+
5+ ## Dependencies
6+
7+ - ` debian ` base docker image from Docker Hub.
8+ - Download the IBM JRE of your intended version and extract to the ` artifacts ` directory.
9+
10+ ## Build the docker image
11+
12+ docker build -t stackinabox/ibm-java:%version% .
13+
14+ ## Use the docker image from your own Dockerfile
15+
16+ FROM stackinabox/ibm-java:%version%
17+ ...
18+
19+ CMD ["/bin/bash"]
20+
21+ ## Launch the container (will exit, but responds to Java command line options)
22+
23+ docker run stackinabox/ibm-java:%version%
24+
25+ ## Supported Environment Variables
26+
27+ JAVA_HOME: Path to Java Home Directory
28+
You can’t perform that action at this time.
0 commit comments