Skip to content

Comments

Add Oracle Free module#1242

Open
collinmurd wants to merge 12 commits intotestcontainers:mainfrom
collinmurd:main
Open

Add Oracle Free module#1242
collinmurd wants to merge 12 commits intotestcontainers:mainfrom
collinmurd:main

Conversation

@collinmurd
Copy link

Adds a module for Oracle DB support using oracle free. Follows similar implementation to the existing Java and Python modules, which utilize these images

@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit 3a1bb73
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-node/deploys/699cdc1b5f9738000802155f
😎 Deploy Preview https://deploy-preview-1242--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@collinmurd collinmurd marked this pull request as ready for review February 20, 2026 18:03
@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Feb 22, 2026
@cristianrgreco
Copy link
Collaborator

cristianrgreco commented Feb 22, 2026

Thanks for raising @collinmurd!

Looks like testcontainers-java exports a single OracleContainer module, where you can then use free or XE based on the provided image name:

Let's do the same here. Also update the module name from oraclefree to oracle (npm i @testcontainers/oracle).

@cristianrgreco cristianrgreco added the changes requested PR author must respond to review feedback label Feb 23, 2026
@collinmurd
Copy link
Author

collinmurd commented Feb 23, 2026

Thanks for raising @collinmurd!

Looks like testcontainers-java exports a single OracleContainer module, where you can then use free or XE based on the provided image name:

Let's do the same here. Also update the module name from oraclefree to oracle (npm i @testcontainers/oracle).

Oracle Free is meant to be the successor to Oracle XE. I haven't found anything that indicates a retirement path from Oracle for XE, but the maintainer for these Oracle images isn't supporting XE anymore.

testcontainers-python only exports an testcontainers[oracle-free] package. I'm thinking we should only export with a Oracle Free module to discourage XE use.

@cristianrgreco
Copy link
Collaborator

Ah I didn't know, makes sense then, please disregard my last comment


const IMAGE = getImage(__dirname);

describe.sequential("OracleFreeContainer", { timeout: 240_000 }, () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These can run in parallel

@@ -0,0 +1 @@
FROM gvenzl/oracle-free:slim-faststart No newline at end of file
Copy link
Collaborator

@cristianrgreco cristianrgreco Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's pin the image version, gvenzl/oracle-free:23.26.1-slim-faststart is equivalent to current latest. Dependabot will keep it up to date and will catch future breaking changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes requested PR author must respond to review feedback enhancement New feature or request minor Backward compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants