Skip to content

Commit

Permalink
Fix pingPerf Test for JDK22 (#5571)
Browse files Browse the repository at this point in the history
Update dockerfile replace for JDK22

Signed-off-by: LongyuZhang <[email protected]>
  • Loading branch information
LongyuZhang authored Sep 10, 2024
1 parent 665dbc1 commit e5f97fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/criu/pingPerf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ getSemeruDockerfile() {
findCommandAndReplace '\-H \"\${CRIU_AUTH_HEADER}\"' '--user \"\${DOCKER_REGISTRY_CREDENTIALS_USR}:\${DOCKER_REGISTRY_CREDENTIALS_PSW}\"' $semeruDockerfile ";"
findCommandAndReplace 'RUN --mount.*' 'ARG DOCKER_REGISTRY_CREDENTIALS_USR \n ARG DOCKER_REGISTRY_CREDENTIALS_PSW \n RUN set -eux; \\' $semeruDockerfile
# in 21-ea, /opt/java/openjdk/legal/java.base/LICENSE does not exist. No need to replace
if [[ $jdkVersion != "21" ]]; then
if [[ $jdkVersion < 21 ]]; then
findCommandAndReplace '\/opt\/java\/openjdk\/legal\/java.base\/LICENSE \/licenses;' "\/opt\/java\/openjdk\/legal\/java.base\/LICENSE \/licenses\/;" $semeruDockerfile
fi
else # docker_os is ubuntu
Expand Down

0 comments on commit e5f97fe

Please sign in to comment.