oracle / adb-free

Universal Permissive License v1.0
36 stars 3 forks source link

Remove use of Oracle-internal yum repo #2

Closed cjbj closed 1 year ago

cjbj commented 1 year ago

An Oracle internal yum repo is configured; this should be set to a public repo.

$ docker exec -ti -u root adb_container  bash
# dnf -y install python3
Oracle Linux 8 BaseOS Latest (x86_64)                                                             0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'ol8_baseos_latest':
  - Curl error (6): Couldn't resolve host name for https://yum-internal.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/repodata/repomd.xml [Could not resolve host: yum-internal.oracle.com]

The workaround is to execute:

echo "" > /etc/dnf/vars/ociregion
aosingh commented 1 year ago

@cjbj Thank you for reporting this.

Just FYI, in the next version of the image, we will have both python3 and python3-oracledb installed.

cjbj commented 1 year ago

Just FYI, in the next version of the image, we will have both python3 and python3-oracledb installed.

Excellent!