entrypoint.sh 703 B

123456789101112131415161718192021222324252627
  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. mod-ui)
  13. shift
  14. exec /opt/rigforge/build/arm64/build-mod-ui.sh "$@"
  15. ;;
  16. all)
  17. shift
  18. /opt/rigforge/build/arm64/build-sooperlooper.sh "$@"
  19. /opt/rigforge/build/arm64/build-mod-host.sh "$@"
  20. exec /opt/rigforge/build/arm64/build-mod-ui.sh "$@"
  21. ;;
  22. *)
  23. printf '%s\n' "Usage: docker run ... rigforge-arm64-build:{tag} sooperlooper|mod-host|mod-ui|all" >&2
  24. exit 2
  25. ;;
  26. esac