Merge pull request #1263 from NottyCode/open-liberty-18002

Add updates for Open Liberty 18.0.0.2
This commit is contained in:
yosifkit 2018-07-23 15:22:34 -07:00 committed by GitHub
commit a1376a62bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 8 deletions

View File

@ -13,9 +13,9 @@ FROM %%IMAGE%%:kernel
COPY server.xml /config/
```
The `microProfile1` image contains the features required to implement Eclipse MicroProfile 1.2. The `webProfile7` image contains the features required for Java EE7 Web Profile compliance. The `javaee7` image adds the features required for Java EE7 Full Platform compliance. The `javaee7` image is also tagged with `latest`.
The `microProfile1` image contains the features required to implement Eclipse MicroProfile 1.3. The `webProfile8` image contains the features required for Java EE8 Web Profile compliance. The `javaee8` image adds the features required for Java EE8 Full Platform compliance. The `javaee8` image is also tagged with `latest`. The `webProfile7` image contains the features required for Java EE7 Web Profile compliance. The `javaee7` image adds the features required for Java EE7 Full Platform compliance.
There are also additional images for different JVM combinations. Currently there are tags for java8 only, but there are two variants one based on IBM Java and Ubuntu and the other based on the IBM small footprint Java which is based on alpine linux. The naming structure for the variants is tag-javaversion-vandor/variant. This leads to kernel-java8-ibmsfj as one. At this time the full list of images are:
There are also additional images for different JVM combinations. Currently there are tags for java8 only, but there are two variants one based on IBM Java and Ubuntu and the other based on the IBM small footprint Java which is based on alpine linux. The naming structure for the variants is tag-javaversion-vandor/variant. This leads to webProfile8-java8-ibmsfj as one. At this time the full list of images are:
kernel
kernel-java8-ibm
@ -23,6 +23,12 @@ There are also additional images for different JVM combinations. Currently there
microProfile1
microProfile1-java8-ibm
microProfile1-java8-ibmsfj
webProfile8
webProfile8-java8-ibm
webProfile8-java8-ibmsfj
javaee8
javaee8-java8-ibm
javaee8-java8-ibmsfj
webProfile7
webProfile7-java8-ibm
webProfile7-java8-ibmsfj
@ -39,7 +45,7 @@ The images are designed to support a number of different usage patterns. The fol
```console
$ docker run -d -p 80:9080 -p 443:9443 \
-v /tmp/DefaultServletEngine/dropins/Sample1.war:/config/dropins/Sample1.war \
%%IMAGE%%:webProfile7
%%IMAGE%%:webProfile8
```
When the server is started, you can browse to http://localhost/Sample1/SimpleServlet on the Docker host.
@ -49,13 +55,13 @@ The images are designed to support a number of different usage patterns. The fol
```console
$ docker run -d -p 80:9080 \
-v /tmp/DefaultServletEngine:/config \
%%IMAGE%%:webProfile7-sfj
%%IMAGE%%:webProfile8-sfj
```
3. You can also build an application layer on top of this image by using either the default server configuration or a new server configuration. In this example, we have copied the `Sample1.war` from `/tmp/DefaultServletEngine/dropins` to the same directory as the following Dockerfile.
```dockerfile
FROM %%IMAGE%%:webProfile7
FROM %%IMAGE%%:webProfile8
ADD Sample1.war /config/dropins/
```
@ -71,7 +77,7 @@ The images are designed to support a number of different usage patterns. The fol
Build and run the data volume container:
```dockerfile
FROM %%IMAGE%%:webProfile7
FROM %%IMAGE%%:webProfile8
ADD DefaultServletEngine /config
```
@ -85,7 +91,7 @@ The images are designed to support a number of different usage patterns. The fol
```console
$ docker run -d -p 80:9080 \
--volumes-from app %%IMAGE%%:webProfile7
--volumes-from app %%IMAGE%%:webProfile8
```
# Providing your own keystore/truststore
@ -135,7 +141,7 @@ Liberty writes to two different directories when running: `/opt/ol/wlp//output`
```console
docker run -d -p 80:9080 -p 443:9443 \
--tmpfs /opt/ol/wlp//output --tmpfs /logs -v /config --read-only \
%%IMAGE%%:webProfile7
%%IMAGE%%:webProfile8
```
# Relationship between Open Liberty and WebSphere Liberty