Skip to content

Instantly share code, notes, and snippets.

View bountin's full-sized avatar

Martin Prebio bountin

View GitHub Profile
@bountin
bountin / manual.md
Last active March 14, 2022 15:20
Pre-Building Oracle Docker Image for Testcontainers

Pre-Building Oracle Docker Image for Testcontainers

This description is based on Oracle's guide to prebuild images in combination with Oracle's guide build Oracle Database.

If one builds an Oracle Database image according to the main guide, the container will take minutes to boot due to database initialization. By baking an own image that has the initialized database incorporated, the startup time reduces drastically to roughly 10 to 20 seconds.