version: '3.7'
services:

  # usage:
  #   If desired, adjust "DEFAULT_MAKEPKG_ARGS" in "run.sh"
  #   Build the docker container with:
  #     sudo docker-compose build --pull
  #   Then build a package with:
  #     sudo docker-compose run --rm makepkg <packageName> [<makepkgArguemnts>]
  makepkg:
    build: .

    command: ["de-p1st-font"]

    volumes:
      - ../pkg:/pkg:ro
      - ./out:/out

    # interactive
    stdin_open: true # docker run -i
    tty: true        # docker run -t