Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install manually oracle-database-preinstall-19c #2770

Open
mbeguet-bib opened this issue Feb 28, 2024 · 1 comment
Open

Install manually oracle-database-preinstall-19c #2770

mbeguet-bib opened this issue Feb 28, 2024 · 1 comment

Comments

@mbeguet-bib
Copy link

Hello everyone,

There is a proxy in my company and I've an error when I running the Dockerfile.

The error is in setupLinuxEnv.sh file.
The command yum -y install oracle-database-preinstall-19c openssl hostname cannot be execute (thanks my proxy).
So I would like to download manually the fille to add it in my Dockerfile and bypass this download step.

Unfortunately, I don't know where I can download this file.
I've found this file on internet : oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm but I don't know if it's the right file.
It's for Oracle 19 database.
Thank you :)

@imitators
Copy link

imitators commented May 7, 2024

First, You need to download the oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm and take it to 19.3.0 folder.

Next, add the following modifications to Dockerfile for copying files:

COPY oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm $INSTALL_DIR/

Finally, modify the setupLinuxEnv.sh, YUM will automatically download missing dependencies rpm package through the network:

yum -y install openssl hostname
yum -y localinstall <your_absolute_path_in_images>/oracle-database-preinstall-19c-1.0-3.el8.aarch64.rpm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants