-
Set environment variables. Example:
export ODBCSYSINI=/opt/microsoft/msodbcsql17/etc
-
✏️ Determine where to store MS SQL drivers. Examples:
-
Example #1: A
SENZING_VOLUME
based approach.export SENZING_VOLUME=/opt/my-senzing export SENZING_OPT_MICROSOFT_DIR=${SENZING_VOLUME}/opt-microsoft
-
Example #2: Direct specification.
export SENZING_OPT_MICROSOFT_DIR=~/opt-microsoft
-
-
Run container. Example:
docker run \ --env ACCEPT_EULA=Y \ --rm \ --volume ${SENZING_OPT_MICROSOFT_DIR}:/opt/microsoft \ senzing/apt:1.0.0 -y install msodbcsql17
-
Construct parameter for
docker run
. Example:export SENZING_OPT_MICROSOFT_DIR_PARAMETER="--volume ${SENZING_OPT_MICROSOFT_DIR}:/opt/microsoft --env ODBCSYSINI=/opt/microsoft/msodbcsql17/etc"
- GitHub project for senzing/apt