Skip to content

Commit

Permalink
Merge pull request #6 from deogracia/fix-issue-5
Browse files Browse the repository at this point in the history
Fix issue 5
  • Loading branch information
deogracia authored Feb 21, 2020
2 parents a21ec3b + 772754b commit fc17ad0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ my LaTeX docker image

Use it to create your document from LaTeX

It includes the full texlive package.

# Usage

Use the Github docker repo:
```
docker run -v "$(pwd)/:/latex" --user "$(id -u):$(id -g)" docker.pkg.github.com/deogracia/latex/latex xelatex /latex/doc.tex -output-directory=/latex/output
docker run -v "$(pwd)/:/latex" --user "$(id -u):$(id -g)" docker.pkg.github.com/deogracia/latex/latex xelatex /latex/doc.tex
```

Or use the docker hub
```
docker run -v "$(pwd)/:/latex" --user "$(id -u):$(id -g)" deogracia/latex xelatex /latex/doc.tex -output-directory=/latex/output
docker run -v "$(pwd)/:/latex" --user "$(id -u):$(id -g)" deogracia/latex xelatex /latex/doc.tex
```
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ apk update; apk add curl

curl -fsSL https://goss.rocks/install | sh


cd /latex/output && \
mkdir -p /latex/output && \
cd /latex/output && \
xelatex /latex/doc.tex && \
cd /latex && \
goss validate

0 comments on commit fc17ad0

Please sign in to comment.