[Bug]: Mongo image for power architecture is failing in testcontainer repo #7438
prasanna-marathe
started this conversation in
General
Replies: 1 comment
-
Hi, the output should be different if that was the only change. If the code below is executed MongoDBContainer mongoDBContainer = new MongoDBContainer(DockerImageName.parse("x:4.0.10") then the output would suggest:
Once the change is applied it should pull the image MongoDBContainer mongoDBContainer = new MongoDBContainer(DockerImageName.parse("x:4.0.10").asCompatibleSubstituteFor("mongo")) See the difference with your output which suggest |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Module
MongoDB
Testcontainers version
1.18.3
Using the latest Testcontainers version?
Yes
Host OS
Linux
Host Arch
PPC64LE(Power)
Docker version
[#testcontainers-java]# docker --version Docker version v24.0.2, build cb74dfc
What happened?
Need to test mongodb on power architecture using testcontainer repo.
Code in file
modules/mongodb/src/main/java/org/testcontainers/containers/MongoDBContainer.java
is updated as below:When code is run below error is observed when tried to build gradle build gradle build -p modules/mongodb/
Relevant log output
Additional Information
Code is tried to build on Power machine.
[root@xxxx testcontainers-java]# java -version
openjdk version "1.8.0_382"
OpenJDK Runtime Environment (build 1.8.0_382-b05)
OpenJDK 64-Bit Server VM (build 25.382-b05, mixed mode)
[root@xxxx testcontainers-java]# javac -version
javac 1.8.0_382
[root@xxxx testcontainers-java]#
Gradle Version
root@xxxx testcontainers-java]# gradle -version
Gradle 8.3
Build time: 2023-08-17 07:06:47 UTC
Revision: 8afbf24b469158b714b36e84c6f4d4976c86fcd5
Kotlin: 1.9.0
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 1.8.0_382 (Red Hat, Inc. 25.382-b05)
OS: Linux 4.18.0-477.21.1.el8_8.ppc64le ppc64le
Beta Was this translation helpful? Give feedback.
All reactions