Skip to content

Stephen-Hilton/docker-teradata-ttu-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-teradata-ttu-base

Dockerized Teradata Tools and Utilities (TTU).

Steps to build a TTU Docker image:

  1. Make sure docker is installed
  2. Download the latest Teradata TTU software package (16.20 or later) for Ubuntu from here and place in the same directory as the Dockerfile file
  3. To build the default TTU docker image containing all tools and utilities:
docker build -t ttu .

You can create custom docker images to include only selected tools. For example, following commands will build images containing bteq and tdwallet, and TPT and tdwallet respectively.

docker build --build-arg cmd=bteq --build-arg tools="bteq tdwallet" -t bteq .
docker build --build-arg cmd=tbuild --build-arg tools="tptbase tptstream tdwallet" -t tpt .

How to run docker images:

docker run -i --rm --net=host -v $HOME:$HOME -v /tmp:/tmp -e "HOME=$HOME" ttu bteq < test.bteq

For a more seamless access, customize the scripts in the bin folder and include in your host's PATH. Assuming the bin folder is in path, you can then run:

bteq < test.bteq

About

Dockerized Teradata TTU (Base)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 52.4%
  • Dockerfile 47.6%