Sample Dockerfile for SPSS deployment images
Use this sample Dockerfile to add customizations to your SPSS image.
FROM <SPSS_RUNTIME_IMAGE> AS custom_image
# Install Exasol ODBC driver
RUN mkdir -p /opt/exasol
RUN wget -O /opt/exasol/EXASOL_ODBC.tar.gz \
https://www.exasol.com/support/secure/attachment/175398/EXASOL_ODBC-${EXASOL_ODBC_VERSION}.tar.gz
RUN ls -l /opt/exasol/EXASOL_ODBC.tar.gz
RUN cd /opt/exasol \
&& tar -xzf EXASOL_ODBC.tar.gz
RUN mv /opt/exasol/EXASolution_ODBC-${EXASOL_ODBC_VERSION}/* /opt/exasol
RUN rm -rf /opt/exasol/EXASolution_ODBC-${EXASOL_ODBC_VERSION} \
&& rm -rf /opt/exasol/EXASOL_ODBC.tar.gz
# enable Exasol ODBC Driver
RUN sed -i '2iExasol Client=Installed' ${SDAPDRIVER_HOME}/odbcinst.ini
USER ${BASE_USER_NAME}
Parent topic: Creating a custom image