Skip to content

zerodivide1/docker-tcl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-tcl

Ubuntu-based batteries-included Tcl for Docker

This contains most packages necessary for running Tcl 8.4 applications. It is based on an installation of the packages available in Ubuntu. tclreadline is enabled by default for the root user in the container so you will have a decent prompt at the command line.

This is a fork of the original Tcl 8.6 docker-tcl project by efrecon. In this fork, I've also included the jq tool to assist when working with JSON payloads.

Running

To run and get an interactive Tcl prompt:

    docker run -it --rm zerodivide1/tcl84:latest

Building and Running

To build, simply write:

    git clone https://github.com/zerodivide1/docker-tcl.git
    cd docker-tcl
    docker build -t tcl84 .

Running your own scripts

This image exports /opt/tcl as a volume and arranges to give that directory and its sub-directory lib as additional locations when looking for packages. This means that you should be able to mount local directories onto /opt/tcl to run your own code within the container.

Additionally, the image exports /opt/data to place random data that you might wish to access from within the container.

About

Ubuntu-based batteries-included Tcl for Docker

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published