Skip to content

A podman environment in which to run tox on the diSimplex fork of PlasTeX

License

Notifications You must be signed in to change notification settings

litProgLaTeX/plastex-tox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlasTeX Tox

A Podman environment in which to run Tox on the diSimplex fork of PlasTeX.

Scripts

Besides the Dockerfile itself, we provide a collection of scripts designed to automate the build, running and removal of these PlasTeX Tox images.

All of these scripts are meant to be run in the plastex-tox root directory.

  1. ./scripts/build uses the supplied Dockerfile to build the plastex-tox-testeri image.

  2. ./scripts/run uses the plastex-tox-testeri image to run as a simple command line environment (using /bin/bash) sufficient to run tox.

    This script requires one command line argument, the location of the plastex code which needs to be tested.

    This running container will stop when the /bin/bash instance is exited.

  3. ./scripts/enter re-enters a running plastex-tox-testerc container (created by the ./scripts/run script) to provide another command line environment (using /bin/bash).

  4. ./scripts/cleanupContainer removes any existing plastex-tox-testerc container.

  5. ./scripts/cleanupImage removes any existing plastex-tox-testeri image.

These scripts explicitly require the Podman tools run rootlessly.

In particular, in rootless mode, the root user inside a Podman container maps to the user running the Podman container on the host-machine. This makes file permissions transparent, which is why you will see that our Dockerfile simply uses the root user.

To install Podman rootlessly see: Podman Installation | Podman.

For Podman's documentation see: What is Podman? — Podman documentation.

NOTE while Docker now has a rootless mode, I have no experience with using Docker.

These tools SHOULD NOT be used with a rooted Podman/Docker instance!

Tox results

If you use the suggested tox commands, the Tox results are stored in the appropriate Python version in the toxDir in the plastex-tox root directory.

About

A podman environment in which to run tox on the diSimplex fork of PlasTeX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published