Dockerfile for pmix-standard Travis CI
The image is hosted on DockerHub as jjhursey/pmix-standard. In the "running" examples below we will use that as our reference image.
This command will start the container running. Then you can checkout your repo and build.
docker run --rm -it jjhursey/pmix-standard bash
Variables (e.g, CONTAINER
) are used for convenience and clarity in the examples. They are not required by the Docker image.
The ~/work/pmix-standard-docs/
is the path on the host machine where you want the PDF document to be copied to.
If BRANCH
is omited then it will build master
by default.
CONTAINER=jjhursey/pmix-standard
BRANCH="v3"
docker run --rm -v ~/work/pmix-standard-docs/:/home/pmixer/doc $CONTAINER ./bin/build-std.sh /home/pmixer/doc $BRANCH
CONTAINER=jjhursey/pmix-standard
BRANCH="issue_175_pr_123"
REPO="https://github.com/myuser/pmix-standard.git"
docker run --rm -v ~/pmix-standard-docs/:/home/pmixer/doc $CONTAINER ./bin/build-std.sh /home/pmixer/doc $BRANCH $REPO
CONTAINER=jjhursey/pmix-standard
docker run --rm -v $PWD:/home/pmixer/doc $CONTAINER ./bin/build-std.sh /home/pmixer/doc inplace
docker build -t ${USER}/pmix-standard .
docker login
docker push ${USER}/pmix-standard:latest