Skip to content

Commit

Permalink
Update pingPerf dockerfile path based on OpenLiberty repo (adoptium#4586
Browse files Browse the repository at this point in the history
)

- pingPerf test failed due to OpenLiberty repo dockerfile path update

Signed-off-by: LongyuZhang <longyu.zhang@ibm.com>
  • Loading branch information
LongyuZhang authored May 23, 2023
1 parent 4b70649 commit 05018f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/criu/pingPerf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ prepare() {
(
cd ci.docker || exit
git checkout instanton
libertyDockerfilePath="releases/latest/beta-instanton/Dockerfile.ubi.openjdk17"
libertyDockerfilePath="releases/latest/beta/Dockerfile.ubi.openjdk17"
sed -i 's;FROM icr.io\/appcafe\/ibm-semeru-runtimes:open-17-ea-jdk-ubi-amd64;FROM local-ibm-semeru-runtimes:latest;' $libertyDockerfilePath
)
}

buildImage() {
echo "build image at $(pwd)..."
sudo podman build -t local-ibm-semeru-runtimes:latest -f Dockerfile.open.releases.full . --build-arg DOCKER_REGISTRY_CREDENTIALS_USR=$DOCKER_REGISTRY_CREDENTIALS_USR --build-arg DOCKER_REGISTRY_CREDENTIALS_PSW=$DOCKER_REGISTRY_CREDENTIALS_PSW 2>&1 | tee build_semeru_image.log
sudo podman build -t icr.io/appcafe/open-liberty:beta-instanton -f ci.docker/releases/latest/beta-instanton/Dockerfile.ubi.openjdk17 ci.docker/releases/latest/beta-instanton
sudo podman build -t icr.io/appcafe/open-liberty:beta-instanton -f ci.docker/releases/latest/beta/Dockerfile.ubi.openjdk17 ci.docker/releases/latest/beta
sudo podman build -t ol-instanton-test-pingperf:latest -f Dockerfile.pingperf .
}

Expand Down

0 comments on commit 05018f4

Please sign in to comment.