GithubHelp home page GithubHelp logo

tpapp / texlive-julia-minimal-docker Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 4.0 41 KB

minimal docker setup for texlive and Julia

License: MIT License

Shell 72.85% Dockerfile 10.48% TeX 16.67%
dockerfile julia-language texlive

texlive-julia-minimal-docker's Introduction

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.

texlive-julia-minimal-docker's People

Contributors

fredrikekre avatar tpapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

texlive-julia-minimal-docker's Issues

facelift

  • consider using install-julia for installation
  • once 1.2 is released, make sure it works
  • use Docker's standard deployment mechanism from Github

normalize version

v0.6, stable are the same; so are v0.7 and nightly.

  • binaries and
  • downloaded images

should be selected accordingly.

minor fixes for next iteration

Fix these when updating the framework next time:

  • remove gnuplot, we already have gnuplot-nox, the former just installs a ton of dependencies
  • install-julia.sh should just take a version, directory follows from that
  • install-julia.sh should check that something is installed, and then skip downloading. this would allow the script not to condition on version, should make v0.7 transition easier
  • add rsync, for more robust exporting of .cov files
  • do not hardcode the test script into the image, the package being tested should provide that

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.