Docker image for the music engraving program, LilyPond, with variants including ly2video and open-source fonts.
In order to run this container you'll need Docker.
stable (latest stable version)
2.24.32.24.22.24.12.24.02.22.22.22.12.22.0devel (latest development version)
2.25.132.25.122.25.112.25.102.25.92.25.82.25.72.25.62.25.52.25.42.25.32.25.22.25.12.25.02.23.822.23.812.23.802.23.142.23.132.23.122.23.112.23.102.23.92.23.82.23.72.23.62.23.52.23.42.23.32.23.22.23.12.23.02.21.822.21.812.21.802.21.72.21.62.21.52.21.42.21.32.21.22.21.12.21.0All tags are available with the following variants:
-ly2video
Includes ly2video.
This requires Python and makes the image quite larger.
-fonts
Includes various open-sources fonts (mainly from OpenLilyFonts).
For usage, see https://lilypond.org/doc/stable/Documentation/notation/replacing-the-notation-font and https://lilypond.org/doc/stable/Documentation/notation/fonts.html.
LilyPond fonts:
System fonts:
Build a file using LilyPond 2.23.0:
docker run -v $(pwd):/app -w /app jeandeaual/lilypond:2.23.0 lilypond -dno-point-and-click main.ly
Run ly2video on your LilyPond file (with the latest stable LilyPond version):
docker run -v $(pwd):/app -w /app jeandeaual/lilypond:stable-ly2video ly2video -i main.ly
Run convert-ly from the latest development version on all the LilyPond files in the current directory:
docker run -v $(pwd):/app -w /app jeandeaual/lilypond:devel convert-ly -e *.ly
Run extractpdfmark to reduce the PDF file size:
docker run -v $(pwd):/app -w /app jeandeaual/lilypond:devel extractpdfmark main.pdf > /tmp/tmp.ps && gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFDontUseFontObjectNum -dPrinted=false -sOutputFile=main-extracted.pdf main.pdf /tmp/tmp.ps
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Build PDF
uses: docker://jeandeaual/lilypond:stable
with:
args: lilypond -dno-point-and-click -dembed-source-code -dpaper-size=\"a4\" -o build main.ly
- name: Get short SHA
id: slug
run: echo "::set-output name=sha7::$(echo ${GITHUB_SHA} | cut -c1-7)"
- name: Upload artifact
uses: actions/[email protected]
with:
name: pdf-${{ steps.slug.outputs.sha7 }}
path: build
image: jeandeaual/lilypond:stable
stages:
- build
lilypond:
stage: build
script:
- lilypond -dno-point-and-click main.ly
artifacts:
paths:
- *.pdf
Content type
Image
Digest
sha256:1009ee015…
Size
99.7 MB
Last updated
over 2 years ago
docker pull jeandeaual/lilypond