-
-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
According to this comment the oracle/xe image is deprecated. Also this image does (and will) not support ARM and thus will not work on e.g. Mac. ARM is currently only supported with CPU emulated colima which is very slow even on very fast hardware.
Solution
The solution is to use the almost compatible oracle/free image.
I was able to successfully use the existing test container with changed configuration:
private readonly OracleContainer _container = new OracleBuilder()
.WithImage("gvenzl/oracle-free:23.5-slim-faststart")
.WithEnvironment("ORACLE_DATABASE", OracleBuilder.DefaultDatabase)
.Build();
The only change apart from the image tag is that the default database is is called FREEPDB1 instead of XEPDB1. As the WithDatabasebuilder method is private, I could not change this and needed to use the env var to create second database.
Benefit
- Future proof image (no deprecated one)
- ARM support for macs without the use of slow colima
Alternatives
Keep it as is.
Would you like to help contributing this enhancement?
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request