entrypoint.sh 544 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. set -eu
  3. case "${1:-}" in
  4. sooperlooper)
  5. shift
  6. exec /opt/rigforge/build/arm64/build-sooperlooper.sh "$@"
  7. ;;
  8. mod-host)
  9. shift
  10. exec /opt/rigforge/build/arm64/build-mod-host.sh "$@"
  11. ;;
  12. all)
  13. shift
  14. /opt/rigforge/build/arm64/build-sooperlooper.sh "$@"
  15. exec /opt/rigforge/build/arm64/build-mod-host.sh "$@"
  16. ;;
  17. *)
  18. printf '%s\n' "Usage: docker run ... rigforge-arm64-build:{tag} sooperlooper|mod-host|all" >&2
  19. exit 2
  20. ;;
  21. esac