oracle / docker-images

Official source of container configurations, images, and examples for Oracle products and projects
https://developer.oracle.com/use-cases/#containers
Universal Permissive License v1.0
6.51k stars 5.41k forks source link

Slim Oracle Database image #1265

Open pkarman opened 5 years ago

pkarman commented 5 years ago

We are migrating from the Docker store/oracle/database-enterprise:12.2.0.1-slim image to building from this GH repo using the SingleInstance files.

One thing we've noticed immediately is that the size of the resulting images is 3x bigger (2G for the store -slim image, 6G for the GH version).

Aside from using the --squash experimental Docker feature, are there aspects of the Oracle Database image that could safely be removed? We note the products/ space seems to be where the bulk of the file size is, but we're not sure if there are possibly optional components that we could safely remove in our post-setup step.

eciuca commented 4 years ago

Hi, I managed to slim the GH version to 6.6 GB. It would be really nice if oracle would fix their store image to be able to set the charsets or to put the default they mention in their docs (AL32UTF8).