Skip to content

Commit 8cbd7e9

Browse files
Add lilypond package support
Added lilypond to the Docker image to enable music notation rendering in AsciiDoc documents. This package is available from Alpine's edge/testing repository and allows users to generate musical scores within their documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 107f3ac commit 8cbd7e9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ RUN apk add --no-cache \
8888
unzip \
8989
which \
9090
font-noto-cjk \
91+
lilypond \
9192
&& apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
9293
pdf2svg
9394

tests/asciidoctor.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,3 +315,8 @@ teardown() {
315315

316316
grep 'Mane' ${TMP_GENERATION_DIR}/sample-with-bib.html
317317
}
318+
319+
@test "lilypond is installed and in the path" {
320+
docker run -t --rm "${DOCKER_IMAGE_NAME_TO_TEST}" which lilypond
321+
docker run -t --rm "${DOCKER_IMAGE_NAME_TO_TEST}" lilypond --version
322+
}

0 commit comments

Comments
 (0)