Ensure that the JDK image is available
- Last Updated: January 23, 2024
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
To run PAS for OpenEdge in a Docker container, JDK is required in /usr/java, inside the PAS for OpenEdge container.
Note: The Platform Compatibility
Guide (PCG) provides a list of all the supported JDK versions that can be used
for the JDK image.
How to obtain the JDK Docker image
You can obtain the JDK Docker image in one of the following ways:
- Download a JDK Docker image from AdoptOpenJDK, Docker Hub, or any other site certified by Progress and listed
in the Platform Compatibility Guide. You must use a Linux 64 image. The JDK
version required is
jdk-8u221-linux-x64.tar.gzor later. - Build a custom Docker image with a downloaded JDK: Note: If you use an AdoptOpenJDK Docker image, then you can skip these steps.
- Download the compressed version of JDK 8 for Linux
x64. The filename may be in following pattern:
jdk-8u*-linux-x64.tar.gz - Create a Dockerfile in the same folder as the
downloaded archive file with following code, and build the image.
Then, give the image a suitable name. You can edit the code to
reflect the file name to match the downloaded
.tarfile:FROM alpine:3.8 ENV JAVA_PKG=jdk-8u*-linux-x64.tar.gz ADD $JAVA_PKG /usr/java/ RUN export JAVA_DIR=$(ls -1 -d /usr/java/*) && \ ln -s $JAVA_DIR /usr/java/latest && \ ln -s $JAVA_DIR /usr/java/default - To build an image from the Dockerfile, run the
following command in the same folder:
$ docker build -t imageName:tagNote the values for
imageName:tagbecause you will use them in a later step.
- Download the compressed version of JDK 8 for Linux
x64. The filename may be in following pattern: