Skip to content

Latest commit

 

History

History

tizen-studio-docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Tizen Studio Docker Image

This folder contains instructions (Dockerfiles) for building Docker images containing Tizen Studio. This can simplify usage of the Tizen WebDriver Server, since Tizen Studio can be painful to install and configure.

Downloading or building them locally will consume 3.2GB of disk space (as of July 2020).

Running the pre-built, publicly hosted images

We publish pre-built Docker images for your convenience through the Google Container Registry. The server will use these images by default.

Building the images locally

The Docker images are built using these commands before publishing them to the Google Container Registry:

# The base image, containing Tizen Studio.
docker build -t gcr.io/generic-webdriver-server/tizen-studio base/
# An extension of the base image which also contains the Tizen TV 3.0 SDK.
docker build -t gcr.io/generic-webdriver-server/tizen-studio-tv-3.0 tv-3.0/

Interactive use of Tizen Studio tools

Run the Docker image with -it to get an interactive shell. Commands like sdb and tizen from Tizen Studio should be in the PATH environment variable. Tizen Studio is installed in ~/tizen-studio.

# To get a shell in the Tizen Studio Docker image:
docker run -it gcr.io/generic-webdriver-server/tizen-studio-tv-3.0

A note on sdb and persistent connections

The sdb tool's connect command starts a daemon in the background, so running that command alone will not work:

docker run gcr.io/generic-webdriver-server/tizen-studio-tv-3.0 sdb connect mytv

After the connection is established, the Docker image will shut down, and the background daemon started by sdb will shut down, too. You can't create a persistent connection to a Tizen device unless you have an open interactive shell (see above).

To cope with this limitation, the Tizen WebDriver server will create one long command line to run in the Docker image so that all operations are done before the image shuts down.