HUB
Sign inSign up

minidocks/abc

By minidocks

•Updated over 1 year ago

Minimal abc images

Image
0

1.8K

minidocks/abc repository overview

⁠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

TagSize
latest

Tag summary

Content type

Image

Digest

sha256:5b13c571d…

Size

53 MB

Last updated

over 1 year ago

docker pull minidocks/abc