Docker-images: rpm files are missing

Created on 20 May 2019  路  4Comments  路  Source: oracle/docker-images

I was following these instructions:

https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/installing-oracle-database-instant-client.html#GUID-33543D62-0EBD-49A5-97C9-94C4F0C4E90A

when I run this:

Step 51/57 : RUN alien -i oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
 ---> Running in f44de5106d09

Then I get:

File "oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm" not found.
The command '/bin/sh -c alien -i oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm' returned a non-zero code: 2
Instantclient help wanted

All 4 comments

the same missing files are listed here:
https://help.ubuntu.com/community/Oracle%20Instant%20Client

doubt this is the right repo to report this, but please get the message to the right place

You need to copy the RPM into the image during the build process. It doesn't exist in the base Ubuntu image beforehand, i.e. you need to download the RPMs from Oracle first, then use a COPY directive to copy the RPMs into the image during the build process. Then the alien command will work.

@ORESoftware for steps like those @Djelibeybi explained, see https://github.com/oracle/docker-images/blob/master/OracleInstantClient/dockerfiles/12.2.0.1/Dockerfile

The 12.x Instant Client requires a click through before downloading; you have to get the RPMs from OTN.

Update for future readers: the 18c & 19c Instant Client RPMs are available from http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/index.html without needing login or click-through.

ahh thank you

Was this page helpful?
0 / 5 - 0 ratings