Skip to content

MiKTeX/docker-miktex-build-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Alpine Linux docker image with MiKTeX build environment

Obtaining the image

Get the latest image from the registry:

docker pull miktex/miktex-build-alpine:latest

or build it yourself:

docker build --tag miktex/miktex-build-alpine:latest .

Using the image

Prerequisites

MiKTeX source code must be mounted to the container path /miktex/source and the build directory must be mounted to the container path /miktex/build.

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

Example

Build the MiKTeX apk package:

mkdir -p ~/work/miktex/source
mkdir -p ~/work/miktex/builds/alpine-latest
curl -fsSL https://miktex.org/download/ctan/systems/win32/miktex/source/miktex-2.9.tar.xz | \
  tar -xJ --strip-components=1 -C ~/work/miktex/source
docker run -t \
  -v ~/work/miktex/source:/miktex/source:ro \
  -v ~/work/miktex/builds/alpine-latest:/miktex/build:rw \
  -e USER_ID=`id -u` \
  -e GROUP_ID=`id -g` \
  miktex/miktex-build-alpine:latest

The build artifact miktex-*.apk will be written to ~/work/miktex/builds/alpine-latest.

About

the Alpine Linux docker image for building MiKTeX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published