Dockerfile for building Golang apps with Oracle Instant Client and mattn/go-oci8.
The base image is golang (default/based on Debian), because glibc
is required for the build.
The required files are in oracle directory.
The packages (instantclient-sdk-linux
and instantclient-sdk-linux
) were originally downloaded from the Oracle Site, and unnecessary files were removed.
docker build -t go-oci8 .