Skip to content

Commit 5fd917e

Browse files
kabicinkabicin
authored andcommitted
Update liberty-server-customization.md
1 parent fc07dfb commit 5fd917e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/liberty-server-customization.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can provide a custom name for your Liberty server by specifying the `SERVER_
99

1010
Specifying the `ENV SERVER_NAME=<your-server-name>` variable allows you to run a Liberty server with a custom name, as in the Dockerfile below.
1111
```Dockerfile
12-
FROM openliberty/open-liberty:kernel-slim-java8-openj9-ubi
12+
FROM openliberty/open-liberty:kernel-slim-java17-openj9-ubi
1313

1414
ENV SERVER_NAME=liberty1
1515

@@ -19,21 +19,21 @@ RUN configure.sh
1919
```
2020
Running this container will produce output similar to:
2121
```
22-
Launching liberty1 (Open Liberty 23.0.0.5/wlp-1.0.77.cl230520230514-1901) on Eclipse OpenJ9 VM, version 1.8.0_362-b09 (en_US)
22+
Launching liberty1 (Open Liberty 23.0.0.5/wlp-1.0.77.cl230520230514-1901) on Eclipse OpenJ9 VM, version 17.0.7+7 (en_US)
2323
[AUDIT ] CWWKE0001I: The server liberty1 has been launched.
2424
[AUDIT ] CWWKG0093A: Processing configuration drop-ins resource: /opt/ol/wlp/usr/servers/liberty1/configDropins/defaults/keystore.xml
2525
[AUDIT ] CWWKG0093A: Processing configuration drop-ins resource: /opt/ol/wlp/usr/servers/liberty1/configDropins/defaults/open-default-port.xml
2626
[AUDIT ] CWWKZ0058I: Monitoring dropins for applications.
2727
[AUDIT ] CWWKF0012I: The server installed the following features: [el-3.0, jsp-2.3, servlet-3.1].
28-
[AUDIT ] CWWKF0011I: The liberty1 server is ready to run a smarter planet. The liberty1 server started in 0.384 seconds.
28+
[AUDIT ] CWWKF0011I: The liberty1 server is ready to run a smarter planet. The liberty1 server started in 0.730 seconds.
2929
```
3030

3131
### Renaming an existing Liberty server
3232

3333
Liberty server configurations and existing output data under `/config` and `/output`, respectively, will be relocated to the server with new name, allowing you to **rename** servers `FROM` any Liberty image.
3434

3535
```Dockerfile
36-
FROM openliberty/open-liberty:kernel-slim-java8-openj9-ubi as staging
36+
FROM openliberty/open-liberty:kernel-slim-java17-openj9-ubi as staging
3737

3838
ENV SERVER_NAME=liberty1
3939

0 commit comments

Comments
 (0)