Skip to content

Instantly share code, notes, and snippets.

@masaponto masaponto/Dockerfile
Created Oct 28, 2017

Embed
What would you like to do?
修論用
FROM debian:jessie
MAINTAINER masaponto <masaponto@gmail.com>
RUN apt-get update -y && \
apt-get install -y \
texlive \
texlive-fonts-extra \
texlive-bibtex-extra \
texlive-lang-japanese \
texlive-science \
texlive-publishers \
latexmk && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
ENTRYPOINT ["latexmk"]
CMD ["--help"]
all: pdf
SRC_FILE := main.tex
pdf: $(SRC_FILE) Chapter/*.tex master.sty bxascmac.sty ref.bib
docker run --rm -t -i -v `pwd`:/workspace \
masaponto/uaizu_mt -pdf $(SRC_FILE) --halt-on-error
pvc: $(SRC_FILE) Chapter/*.tex master.sty bxascmac.sty ref.bib
docker run --rm -t -i -v `pwd`:/workspace \
masaponto/uaizu_mt -pvc -pdf $(SRC_FILE) --halt-on-error
clean:
docker run --rm -t -i -v `pwd`:/workspace masaponto/uaizu_mt -C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.