This repo provides two ways to automate the process of creating a prebuilt oracle docker image.
Link: From Oracle Repo
This method was originally published by oracle and released under their Universal Permissive License. The edits I made to this method was to pre-build the oracle database to improve performance at container runtime.
This container is published at: https://hub.docker.com/r/kyleaure/oracle-18.4.0-xe-prebuilt
Link: From Oracle Dockerhub
This method involves expanding on the existing https://hub.docker.com/r/gvenzl/oracle-xe image released under the Apache 2.0 License. The edits I made to this method was to decompress the oracle database to improve performance at container runtime.
This container is published at: https://hub.docker.com/r/kyleaure/oracle-18.4.0-slim-expanded