Skip to content

Commit cc250fe

Browse files
committed
Install required packages for linperf.sh
1 parent b4a5dce commit cc250fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ LABEL \
1515
summary="Sample app running on Open Liberty that uses Eclipse MicroProfile" \
1616
description="This image contains a sample application that displays the Java system properties and demonstrates MicroProfile Config, Health and Metrics."
1717

18+
USER 0
19+
RUN command -v yum && pkgcmd=yum || pkgcmd=microdnf && $pkgcmd update -y && $pkgcmd install -y procps-ng net-tools ncurses hostname
20+
USER 1001
21+
1822
COPY --chown=1001:0 src/main/liberty/config/ /config/
1923

2024
RUN features.sh

0 commit comments

Comments
 (0)