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

Support for docker #1

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

Support for docker #1

wants to merge 2 commits into from

Conversation

topongo
Copy link

@topongo topongo commented Oct 25, 2024

add Dockerfile for containerization, so that we can avoiding clogging our systems with enormous latex packages.
uses two containers: rust for building and archlinux for running (with latex dependencies installed).
default entrypoint is the watcher wrapper /usr/bin/curriculust-watch (slightly modified version of build.sh) but can be changed to the pure version (/usr/bin/curriculust: the binary from cargo) using --entrypoint /usr/bin/curriculust when invoking docker run

@Stypox
Copy link
Owner

Stypox commented Oct 25, 2024

Nice! Could you also add a "Dockerfile usage" section in the README (before "build.sh usage"), with the info you provided here?

@topongo
Copy link
Author

topongo commented Nov 4, 2024

i'm having some problems with the build.sh script, I don't think is meant to be very reliable, or at least is very specific in his behavior and it doens't adapt well to the docker usage: it has a lot of edge cases that makes it unresponsive to modifications or too responsive, and in some cases even inconsistent in its output. i ain't blaming no one for this, but i should rewrite it from scratch before merge or giving a big unstable disclaimer for docker.

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.

2 participants