Skip to content

Commit

Permalink
add install findutils
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlamz committed Mar 12, 2024
1 parent 368b65b commit 3e0e1aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,6 @@ private static void createTestContainer(TestEnvironment env) {
getContainerBaseImageName(env.info.getRequest()),
builder -> builder
.run("apk", "add", "git")
.run("apk", "add", "findutils")
.run("git", "clone", "--depth", "1", "--branch", HIBERNATE_VERSION,
"https://github.com/hibernate/hibernate-orm.git", "/app/hibernate-orm"))
.withCopyFileToContainer(MountableFile.forHostPath(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public T withFixedExposedPort(int hostPort, int containerPort) {
builder
.from(testContainerImageName)
.run("mkdir", "app")
.run("apk", "add", "findutils")
.run("microdnf", "install", "findutils")
.workDir("/app")
.entryPoint("/bin/sh -c \"while true; do sleep 30; done;\"")
.expose(5005) // Exposing ports for debugger to be attached
Expand Down

0 comments on commit 3e0e1aa

Please sign in to comment.