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

docker: mount source and resources as read-only #1724

Merged
merged 1 commit into from
Nov 14, 2024

Commits on Nov 13, 2024

  1. docker: mount source and resources as read-only

    This avoids writing output files into the source tree by changing the
    imagesoutdir variable to point at the build tree. We can bind mount
    source and docs-resources as read-only into the build directory and
    then create symlinks to ensure the docker container sees the
    appropriate directory layout.
    
    Note: imagesoutdir must be an absolute path since otherwise
    asciidoctor-mathemtical interprets it as a path relative to the source
    dir rather than the current working directory (asciidoctor-diagram does
    the expected thing and interprets it relative to the cwd).
    arichardson committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    0787da5 View commit details
    Browse the repository at this point in the history