Skip to content

Commit 5d09fb4

Browse files
authored
Install required packages for running linperf.sh to gather performance data (#159)
* Install required packages for linperf.sh * Add comment and parenthesize the package command
1 parent b4a5dce commit 5d09fb4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ 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+
# Install required packages to run linperf.sh
19+
USER 0
20+
RUN command -v yum && pkgcmd=yum || pkgcmd=microdnf && ($pkgcmd update -y && $pkgcmd install -y procps-ng net-tools ncurses hostname)
21+
USER 1001
22+
1823
COPY --chown=1001:0 src/main/liberty/config/ /config/
1924

2025
RUN features.sh

0 commit comments

Comments
 (0)