24 Dockerfile ARGs

You have several options for obtaining TimesTen container images. One of these options is to build your own TimesTen container image. TimesTen provides a Dockerfile for this purpose. For more information about TimesTen container images, see About TimesTen Container Images and Container Registry Options.

The Dockerfile supports a number of ARGs. These ARGs let you override the attributes of the Dockerfile (and its resultant image). You supply these ARGs on the docker build command line.

The following table describes the supported ARGs:

Table 24-1 Dockerfile ARGs

ARG name Default value Description

TT_BASE

container-registry.oracle.com/os/oraclelinux:8

Name of the base image.

UNZIP_BASE

container-registry.oracle.com/os/oraclelinux:8

Name of the image that is used to unzip the TimesTen distribution.

TT_DISTRO

timesten22.1.1.34.0.server.linux8664.zip or timesten22.1.1.34.0.server.linuxarm64.zip depending on whether you are using amd64 or arm64 nodes.

Name of the TimesTen distribution that you are including in the container image.

For information about deploying the TimesTen Kubernetes Operator in a multi-architecture Kubernetes cluster, see About Deploying in a Multi-Architecture Kubernetes Cluster.

TT_RELEASE

22.1.1.34.0

Release number (in dotted decimal format) of the TimesTen release that is included in $TT_DISTRO.

TT_USER

timesten

Name of the Linux user that is created in the container image. This is the user who runs TimesTen.

To define a different user to run TimesTen, supply this ARG on the docker build command line.

TT_UID

3429

The numeric UID of $TT_USER.

To define a different UID for $TT_USER, supply this ARG on the docker build command line.

TT_GROUP

timesten

Name of the Linux group that is created in the container image. This is the name of the TimesTen users group.

To define a different name for the TimesTen group, supply this ARG on the docker build command line.

TT_GID

3429

The numeric GID of $TT_GROUP.

To define a different GID for $TT_GROUP, supply this ARG on the docker build command line.

TT_EXTRA_LINUX_PACKAGES

There is no default.

Additional Linux packages that you want installed in the container image by the yum install command.