This Gist describes the steps to build an Oracle Database 12.2.0.1 Docker Image. It also demonstrates using a custom script to convert the created database to use Extended Data Types (32K VARCHAR2).
Download the linux x86-64 ZIP archive from [here][db-download].