Last active
December 17, 2019 13:16
-
-
Save peterstadler/9ea79071ef656377341e0da3d56c3c3a to your computer and use it in GitHub Desktop.
use Docker to build the TEI Guidelines locally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Docker image to use for building the Stylesheets and TEI Guidelines | |
#IMAGE=teic/jenkins:dev | |
IMAGE=teic/teidev-docker | |
# local path to the TEI Guidelines repo you cloned from https://github.com/teic/tei | |
TEI_PATH=/Users/pstadler/repos/TEI | |
# local path to the TEI Stylesheets repo you cloned from https://github.com/teic/stylesheets | |
STYLESHEETS_PATH=/Users/pstadler/repos/TEI-Stylesheets | |
cd $TEI_PATH | |
docker run --rm -v $TEI_PATH:/tei -w /tei/P5 -v $STYLESHEETS_PATH:/usr/share/xml/tei/stylesheet -it --entrypoint "make" $IMAGE $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment