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.45k stars 5.4k forks source link

Oracle DB: buildContainerImage.sh should check container architecture, not host architecture #2732

Open cjbj opened 7 months ago

cjbj commented 7 months ago

Files like https://github.com/oracle/docker-images/blob/main/OracleDatabase/SingleInstance/dockerfiles/buildContainerImage.sh check the host arch and fail on Apple Silicon unless 19c is used. To allow builds of other versions when colima is emulating x86_64, the buildContainerImage.sh checks should probably take the architecture from docker info instead of arch