I hope I’m in the correct forum.
I desperately try to create an docker image with an oracle database that runs on my raspberry pi.
There are some resources in the web with an step by step guide how one can manage this. (for example: https://www.database-blog.at/2023/06/28/oracle-19c-fuer-linux-arm-ist-da/)
I successfully create an Dockerfile with an base setup like this:
FROM arm64v8/oraclelinux:9
RUN dnf -y update
RUN yum install -y oracle-database-preinstall-19c.aarch64
RUN mkdir -p /u01/app/oracle
RUN chown -r oracle:oinstall /u01/app
...
CMD ["/bin/bash"]
The problem is that the installation of oracle-database-preinstall-19c.aarch64 fails with the error message: No match for argument: oracle-database-preinstall-19c.aarch64
When I try to search for it with yum search -y oracle-database-preinstall-19c.aarch64
i just get the error:
Oracle Linux 9 EPEL Packages for Development (aarch64) 1.8 MB/s | 58 MB 00:32
Oracle Linux 9 BaseOS Latest (aarch64) 1.7 MB/s | 35 MB 00:19
Oracle Linux 9 Application Stream Packages (aarch64) 1.8 MB/s | 20 MB 00:11
Last metadata expiration check: 0:00:21 ago on Sat Apr 20 08:30:05 2024.
No matches found.
So I have no idea what Im doing wrong. Is there a special repo I have to include to install the needed package? Is the packet not hosted anymore? Or is is just not possible to create an docker image with an oracle database for an arm/aarch architecture?
Any help is appreciated.
UPDATE
I think I got it. It seems that I have to add the repo with yum-config-manager. In my case (ol8) it was: yum-config-manager --add-repo https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/aarch64
.
After this, dnf -y install oracle-database-preinstall-19c
seems to work.
2
Answers
In the past, I use this approach, RP4 + Oracle Linux + Oracle RDBMS database 19C arm64. The installation Oracle Software is good but after installation, the step create database is hanging because the listener is broken pipe. This is the Oracle internal error.
USB Ethernet 2.5G, raspberry pi OS bookworm + docker + Container
Oracle RDBMS Database 19.19 arm64 (6G for download) from Oracle
container website . It works and works very well and easy to do.
Regards.
You can’t run Oracle19 on RP4, but you can on RP5.
See https://medium.com/p/54201d68b431