docker-images
docker-images copied to clipboard
ORDS + local Java image
Hello,
I have tried to pull image for ORDS but even thought I provided my credentials I wasn't able to pull image from registry. So then I build local JDK image and afterwards I was able to start building ORDS image.
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/oracle/restdataservices latest 99793d22341f 20 seconds ago 2.03 GB
localhost/oracle/jdk 19-ol8 152055aabff1 7 minutes ago 596 MB
localhost/oracle/database 21.3.0-xe 79b1fec0a366 25 minutes ago 6.57 GB
container-registry.oracle.com/os/oraclelinux 8 3c18b897c89d 9 days ago 237 MB
container-registry.oracle.com/os/oraclelinux 7-slim 7c7273344369 9 days ago 145 MB
However there is a small issue. If you build locally JDK it is using ol8 as part of base image. Then ORDS dockerfile I had to change yum -y install oracle-instantclient-release-el7
to yum -y install oracle-instantclient-release-el8
Is it possible to dynamically check this in dockerfile and install appropriate version?