Skip to content

A Docker image with ConTeXt standalone on Ubuntu 16.04

License

Notifications You must be signed in to change notification settings

mweidling/docker-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConTeXt Docker image

This Docker image runs ConTeXt standalone on Ubuntu 16.04 in order to guarantee a stable environment that leads to reproducible results for your ConTeXt compilation.

Prerequisites

Install Docker according to the Docker installation guide.

Installing

Make a directory for this repository and clone it:

mkdir {DIRNAME}
cd {DIRNAME}
git clone https://github.com/MRodz/docker-context.git

Then build the image (this will take some time):

sudo docker build -t {YOUR_TAG}

Note: In case you have a separate UNIX group for Docker you can omit sudo. For more information about this, have a look at this Docker help page.

In order for this container to run properly, make sure you have the TeX-file you want to compile in this directory.

Usage

Start the container with

./contextdocker.sh

Then compile the file with

./compile.sh

Since the current TeX-file is fetched from your host directory every time you run compile.sh, you can make changes while the container is still running. Simply run compile.sh again to compile the changed file.

The output PDF will automatically be pushed to your host directory.

Contributing

Feel free to submit pull requests to improve this Dockerfile.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

A Docker image with ConTeXt standalone on Ubuntu 16.04

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages