Skip to content

minidocks/abc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABC music image (minidocks/abc)

ABC notation is a shorthand form of musical notation.

Installed programs

Usage

docker run --rm -it -v "`pwd`:/app" -w /app minidocks/abc abc2svg /usr/local/share/doc/abcm2ps/examples/sample.abc

Export to PDF

To export abc to pdf, it is necessary to connect a chromium container to the abc container. So let’s create a docker-compose file:

version: '3.6'

x-base: &base
  volumes:
    - .:/app
    - /tmp:/tmp
  working_dir: /app
  command: sshd

services:
  abc:
    <<: *base
    image: minidocks/abc
    links:
      - chromium
    environment:
      ALIAS_CHROMIUM__BROWSER: ssh chromium chromium-browser

  chromium:
    <<: *base
    image: minidocks/chromium
    cap_add:
      - "SYS_ADMIN"

Then let’s run the command:

docker-compose run --rm abc abctopdf local/path/to/file.abc

Tags

Tag Size
latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published