Skip to content

DRAFT: Add dockerized version of asymptote#340

Open
jamievlin wants to merge 2 commits intomasterfrom
dockerized-asy
Open

DRAFT: Add dockerized version of asymptote#340
jamievlin wants to merge 2 commits intomasterfrom
dockerized-asy

Conversation

@jamievlin
Copy link
Member

Hi John,

** Please do not merge in yet, this is a /very/ crude merge request and there are alot of improvements that can be made **

This is a simple merge request to add a dockerized build script for asymptote. One advantage of dockerized containers is that users can launch asymptote directly with minimal configuration, anywhere (for example, if someone is not familiar with asy's dependencies).

To build, run make MAKECPUCOUNT=<cpu count> dockerized-asy, and to run dockerized asy, map the current directory to /workdir then run the image, for example,

docker run --rm --volume ~/documents:/workdir asy diagram.asy -fpdf.

This image shows a crude working asymptote docker image.

image

-- Jamie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant