Skip to content

Simplify and modernize the Docker build process for MonaServer2.#3

Open
WerWebWer wants to merge 1 commit intoMonaSolutions:masterfrom
WerWebWer:master
Open

Simplify and modernize the Docker build process for MonaServer2.#3
WerWebWer wants to merge 1 commit intoMonaSolutions:masterfrom
WerWebWer:master

Conversation

@WerWebWer
Copy link
Copy Markdown
Contributor

Key changes:

  • Use Alpine packages for LuaJIT instead of building LuaJIT from source
  • Add optional SRT support controlled via the ENABLE_SRT build argument
  • Install runtime dependencies (luajit, libsrt) via apk
  • Add build dependencies (openssl-dev, luajit-dev, libsrt-dev) to the build stage
  • Replace multiple component builds with a single make ENABLE_SRT=$ENABLE_SRT
  • Replace cp with install for safer file installation
  • Reduce Dockerfile complexity and improve build reproducibility
  • Expose SRT port (9710/udp)
  • Document build options in README

This change simplifies the Dockerfile, reduces build complexity, and allowsoptional SRT support without requiring manual modifications to the build.

Key changes:
- Use Alpine packages for LuaJIT instead of building LuaJIT from source
- Add optional SRT support controlled via the ENABLE_SRT build argument
- Install runtime dependencies (luajit, libsrt) via apk
- Add build dependencies (openssl-dev, luajit-dev, libsrt-dev) to the build stage
- Replace multiple component builds with a single `make ENABLE_SRT=$ENABLE_SRT`
- Replace `cp` with `install` for safer file installation
- Reduce Dockerfile complexity and improve build reproducibility
- Expose SRT port (9710/udp)
- Document build options in README

This change simplifies the Dockerfile, reduces build complexity, and allowsoptional SRT support without requiring manual modifications to the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant