Sign inSign up

miktex/miktex-test-centos

By miktex

•Updated over 6 years ago

CentOS docker image with MiKTeX test environment

Image
0

929

miktex/miktex-test-centos repository overview

⁠CentOS 8 docker image with MiKTeX test environment

⁠Obtaining the image

Get the latest image from the registry:

docker pull miktex/miktex-test-centos:8

or build it yourself:

docker build --tag miktex/miktex-test-centos:8 .

⁠Using the image

⁠Prerequisites

The directory containing the MiKTeX test suite must be mounted to the container path /miktex/test-suite. You can obtain the test suite from GitHub⁠.

The test directory (where the tests are run) must be mounted to the container path /miktex/test.

Optional: The directory containing the .rpm package file must be mounted to /miktex/build. If this directory is not mounted then the package will be installed from the official source.

You should specify a user by setting the container environment variables USER_ID and GROUP_ID.

⁠Example

Run the tests:

git clone https://github.com/MiKTeX/miktex-testing ~/work/miktex/test-suite
docker run --rm -t \
  -v ~/work/miktex/test-suite:/miktex/test-suite:ro \
  -v ~/work/miktex/tests/centos-8:/miktex/test:rw \
  -e USER_ID=`id -u` \
  -e GROUP_ID=`id -g` \
  miktex/miktex-test-centos:8

Tag summary

Content type

Image

Digest

Size

132.7 MB

Last updated

over 6 years ago

docker pull miktex/miktex-test-centos:8