changed docker to Debian
removed fonts submodules
This commit is contained in:
@@ -1,9 +1,3 @@
|
|||||||
[submodule "library/freie_lieder"]
|
[submodule "library/freie_lieder"]
|
||||||
path = library/freie_lieder
|
path = library/freie_lieder
|
||||||
url = ssh://leopoldf@gitea.leopold.fajtak.at:44903/leopold/freie_lieder.git
|
url = ssh://leopoldf@gitea.leopold.fajtak.at:44903/leopold/freie_lieder.git
|
||||||
[submodule "fonts/EBGaramond12"]
|
|
||||||
path = fonts/EBGaramond12
|
|
||||||
url = https://github.com/octaviopardo/EBGaramond12.git
|
|
||||||
[submodule "fonts/dosis-vf"]
|
|
||||||
path = fonts/dosis-vf
|
|
||||||
url = https://github.com/googlefonts/dosis-vf.git
|
|
||||||
|
|||||||
+20
-3
@@ -1,5 +1,22 @@
|
|||||||
FROM archlinux:latest
|
FROM debian:sid-slim
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm texlive texlive-langgerman lilypond pdftk perl-template-toolkit make inkscape
|
|
||||||
|
|
||||||
WORKDIR /tmp
|
ENV LANG=C.UTF-8 \
|
||||||
|
LC_ALL=C.UTF-8 \
|
||||||
|
# ConTeXt cache can be created on runtime and does not need to
|
||||||
|
# increase image size
|
||||||
|
TEXLIVE_INSTALL_NO_CONTEXT_CACHE=1 \
|
||||||
|
# As we will not install regular documentation why would we want to
|
||||||
|
# install perl docs…
|
||||||
|
NOPERLDOC=1
|
||||||
|
|
||||||
|
|
||||||
|
RUN apt-get -q update && \
|
||||||
|
apt-get -qy upgrade && \
|
||||||
|
apt-get install -qy --no-install-recommends git make lilypond texlive-extra-utils texlive-font-utils texlive-latex-base texlive-latex-extra texlive-luatex texlive-lang-german texlive-music libtemplate-perl pdftk-java inkscape fonts-ebgaramond fonts-dosis && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
ENV HOME /data
|
||||||
|
WORKDIR /data
|
||||||
|
|
||||||
|
VOLUME ["/data"]
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
.PHONY: all
|
.PHONY: all
|
||||||
tex_deps = build variables.tt library/*/*/*.tt song_choices.csv song_template.tt propers/*.tt purpose_processing.tt
|
tex_deps = build variables.tt library/*/*/*.tt song_choices.csv song_template.tt propers/*.tt purpose_processing.tt
|
||||||
tpage = /usr/bin/vendor_perl/tpage
|
|
||||||
docker = podman
|
docker = podman
|
||||||
all: leadsheet_collection.pdf print_a3.pdf print_a4.pdf clean_intermediate
|
all: leadsheet_collection.pdf print_a3.pdf print_a4.pdf clean_intermediate
|
||||||
%.pdf: %.tex
|
%.pdf: %.tex
|
||||||
@@ -28,13 +27,13 @@ songsheet_a5.pdf: songsheet.pdf
|
|||||||
cd build && \
|
cd build && \
|
||||||
pdfjam -o $@ --nup 2x1 --paper a5paper --landscape $<
|
pdfjam -o $@ --nup 2x1 --paper a5paper --landscape $<
|
||||||
songsheet.tex: songsheet.tt $(tex_deps) header.tt head.tt footer.tt
|
songsheet.tex: songsheet.tt $(tex_deps) header.tt head.tt footer.tt
|
||||||
$(tpage) $< > build/$@
|
tpage $< > build/$@
|
||||||
musician_scores.tex: musician_scores.tt $(tex_deps)
|
musician_scores.tex: musician_scores.tt $(tex_deps)
|
||||||
$(tpage) $< > build/$@
|
tpage $< > build/$@
|
||||||
leadsheet_collection.tex: musician_scores.tt $(tex_deps)
|
leadsheet_collection.tex: musician_scores.tt $(tex_deps)
|
||||||
$(tpage) --define parts=band $< > build/$@
|
tpage --define parts=band $< > build/$@
|
||||||
chornoten.tex: musician_scores.tt $(tex_deps)
|
chornoten.tex: musician_scores.tt $(tex_deps)
|
||||||
$(tpage) --define parts=choir $< > build/$@
|
tpage --define parts=choir $< > build/$@
|
||||||
clean_intermediate:
|
clean_intermediate:
|
||||||
cd build && \
|
cd build && \
|
||||||
rm songsheet_a3part.pdf songsheet_a4part.pdf songsheet_a5.pdf
|
rm songsheet_a3part.pdf songsheet_a4part.pdf songsheet_a5.pdf
|
||||||
@@ -44,8 +43,10 @@ clean:
|
|||||||
rm -r build
|
rm -r build
|
||||||
init:
|
init:
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
init_docker:
|
build_docker_image:
|
||||||
$(docker) build -t songsheet_generator .
|
$(docker) build -t songsheet_generator .
|
||||||
|
pull_docker:
|
||||||
|
$(docker) pull gitea.leopold.fajtak.at/leopold/songsheet_generator:latest
|
||||||
build_in_docker:
|
build_in_docker:
|
||||||
$(docker) run -v `pwd`:/tmp songsheet_generator make
|
$(docker) run -v `pwd`:/data songsheet_generator make
|
||||||
|
|
||||||
|
|||||||
Submodule fonts/EBGaramond12 deleted from e608414f52
Submodule fonts/dosis-vf deleted from 3407d52f1d
Reference in New Issue
Block a user