Sunday, March 03, 2019

How To Build Docker Image of Oracle 19c DB

Requirement:

  We would like to build a new 19c DB docker image for testing.

Solution:

It is based on how we build 18.4 docker images in oracle github

  • Download all scripts from oracle github
  • Update Dockerfile to use the zip which is 19c
# add proxy
RUN echo "proxy=http://<proxy server ip address>:80" >> /etc/yum.conf
  • docker build --network=default --force-rm=true --no-cache=true --build-arg DB_EDITION=ee -t  oracle/database:19.2v1  .