Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Dockerize FFmpeg and Swift application #81

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bwdmr
Copy link
Contributor

@bwdmr bwdmr commented Jan 2, 2025

Key changes:

  • Add multi-stage Dockerfile for FFmpeg and Swift app builds
  • Configure FFmpeg compilation with minimal features
  • Update package structure and dependencies
  • Streamline build process with shell scripts
  • Remove framework/xcframework build scripts
  • Remove pre-built xcframework binaries

Build changes:

  • Use Swift 6.0 on Ubuntu Jammy base image
  • Set up FFmpeg 7.1 compilation with selected codecs/filters
  • Configure pkg-config for library detection
  • Add jemalloc for memory management
  • Optimize linking and compilation flags

The PR containerizes the build process while reducing binary size by removing unused FFmpeg features and frameworks.

bwdmr added 2 commits January 2, 2025 08:20
Key changes:
+ Add multi-stage Dockerfile for FFmpeg and Swift app builds
+ Configure FFmpeg compilation with minimal features
+ Update package structure and dependencies
+ Streamline build process with shell scripts
- Remove framework/xcframework build scripts
- Remove pre-built xcframework binaries

Build changes:
+ Use Swift 6.0 on Ubuntu Jammy base image
+ Set up FFmpeg 7.1 compilation with selected codecs/filters
+ Configure pkg-config for library detection
+ Add jemalloc for memory management
+ Optimize linking and compilation flags

The PR containerizes the build process while reducing binary size by removing unused FFmpeg features and frameworks.
@bwdmr
Copy link
Contributor Author

bwdmr commented Jan 2, 2025

i might add the build configuration is for image manipulation only and not directed towards video or audio manipulation.
if the need arises for different kinds of "profiles", any additional help is very welcome

@wibed wibed mentioned this pull request Jan 2, 2025
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