Docker SDK container

The Docker SDK container contains all the TBSP dev tools, CLIs, SDKs and sample applications you need for a full development experience.

Description

If you're not able to install the TBSP development tools, the CLIs or the SDKs on your local develop machine, you can use the Docker SDK container. 

It contains all the TBSP development tools required for working and interacting with TBSP.

Steps 

In the command line, navigate to this repo and build the container:

docker build -t ng-docker-client-sdk-debian -f Dockerfile .

Start the container:

docker build -t ng-docker-client-sdk-debian . 

If you want to pull a specific build, specify the build ID found at the end of the command:

docker pull registry.tymlez.com/docker/ng-docker-client-sdk-debian:V3.0_GA74853

Run

To pull and run a specific build: 

docker run -t -i --rm \
--name client-sdk \
registry.tymlez.com/docker/ng-docker-client-sdk-debian:V3.0_GA74853 \
/bin/bash

Sharing the plugin folder with the host

docker run -t -i --rm \
--name client-sdk \
--mount type=bind,source=$NGRT_DATA/sdk/plugins,target=/home/docker/plugins \
registry.tymlez.com/docker/ng-docker-client-sdk-debian:V3.0_GA74853 \
/bin/bash

$NGRT_DATA represents the current directory. Please change it according to your environment.

Sharing the plugin folder with the host AND the configuration file ( config.json ) on the host

docker run -t -i --rm \
--name client-sdk \
--mount type=bind,source=$NGRT_DATA/sdk/plugins,target=/home/docker/plugins \
--mount type=bind,source=$NGRT_DATA/sdk/config,target=/home/docker/.tymlez \
registry.tymlez.com/docker/ng-docker-client-sdk-debian:V3.0_GA74853 \
/bin/bash

NOTE : Don't forget to run tymlez-dev the first time if you don't have a config.json in the shared directory on the host

$NGRT_DATA represents the current directory. Please change it according to your environment

Start a session in a running container

docker exec -t -i client-sdk /bin/bash