Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

tpapp/texlive-julia-minimal-docker

Repository files navigation

minimal docker setup for texlive and Julia

Lifecycle

This repository has been archived since we no longer need it for testing PGFPlotsX.

For testing Julia packages that rely on TeXLive. It was written primarily for PGFPlotsX.jl, may be useful for other Julia projects that have extensive binary dependencies (with modifications, of course, you need to edit the Dockerfile).

Usage

Call docker as something like

docker run -ti -a STDOUT -a STDIN -a STDERR -v .:/mnt texlive-julia-minimal /mnt/test-script.sh 1

ie

  1. the source for the package is mounted at /mnt in the container (this is hardcoded into the scripts)

  2. 1 is the version (see files/install-julia.sh for alternatives).

    This installs Julia, with the binary located at

    /test/julia-$JULIAVER/bin/julia
  3. test-script.sh comes from your repository.

What's in the image

  1. a minimal TeXLive distribution

  2. script files/install-julia.sh to install Julia from official binaries

Local scripts

Scripts for building, generation and deployment are in local/. See their documentation there. Some paths are hardcoded for my own machine.

Files for populating the repo

See their documentation.

Updating versions

  1. Minor versions of Julia need to be updated manually for each release in files/install-julia.sh.

  2. New Ubuntu releases should be updated in the Dockerfile.

For either, just make a trivial pull request, and it will be merged once CI completes.