You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to build the development container image using the ads opctl build-image command, the build fails with the error message "No package oracle-instantclient19.13-basic available.".
Workaround:
I temporarily resolved this by manually editing the file ads/opctl/docker/Dockerfile.job replacing update=13 with update=10 on line 13.
How to Reproduce
adsopctlbuild-imagejob-local
What was Observed
No package oracle-instantclient19.13-basic available.
What was Expected
Docker image successfully built.
Version
2.13.0
The text was updated successfully, but these errors were encountered:
The issue seems to be with how the architecture is being detected. For Apple M2, it should use the dockerfile Dockefile.job.arm instead of Docker.job.
I found that the error comes from the regex used in line 157 in ads/opctl/utils.py. In my case, the manufacturer value is "Apple M2", but it doesn’t match the regex "apple m\d " due to the trailing space. After manually removing the space, it worked.
Oracle-ads version used
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of oracle-ads.
I have confirmed this bug exists on the main branch of oracle-ads.
I agree to follow Code of Conduct.
Description
When attempting to build the development container image using the
ads opctl build-image
command, the build fails with the error message "No package oracle-instantclient19.13-basic available.".Workaround:
I temporarily resolved this by manually editing the file ads/opctl/docker/Dockerfile.job replacing update=13 with update=10 on line 13.
How to Reproduce
What was Observed
No package oracle-instantclient19.13-basic available.
What was Expected
Docker image successfully built.
Version
2.13.0
The text was updated successfully, but these errors were encountered: