Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT: Add dockerized version of asymptote #340

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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