Skip to content
Ubuntu-based batteries-included Tcl for Docker
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Running everything in one go to keep the image size down a bit May 20, 2015
LICENSE
README.md
tclshrc

README.md

docker-tcl

Ubuntu-based batteries-included Tcl for Docker

This contains most packages necessary for running Tcl 8.6 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.

Building and Running

To build, simply write:

docker build -t efrecon/tcl .

To run and get an interactive Tcl prompt:

docker run -it --rm efrecon/tcl 

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.

You can’t perform that action at this time.