Multi-capable Docker image.#126
Open
Hacklin wants to merge 4 commits into
Open
Conversation
Build Stages:
- build-env Create build environment image to build Untrunc,
- construction Create image with a built Untrunc,
- production Create Docker executable "docker-untrunc".
AV Libraries:
- dev OS development packages,
- dev-headers OS development packages with internal header files,
- libav-<vers> Libav version <vers> build from source ("libav-12.3"),
- ffmpeg-<vers> FFmpeg version <vers> build from source (like: "ffmpeg-4.0.1"),
- libav Libav build from sources from git master,
- ffmpeg FFmpeg build from sources from git master,
- "" Dockerfile default.
AV Library Configuration (when building from source):
- --enable-* Libav/FFmpeg configuration options,
- "" Dockerfile default.
The Site to get the AV Library sources from:
- origin The original site of the AV library's project,
- github The mirror on GitHub of the the AV library's project,
- "" Dockerfile default.
Notes:
- Tries to build a small Docker executable.
- Uses Untrunc sources from git master, if no Untrunc sources are provided.
Build results for Untrunc production image:
- ubuntu parent image : 81 MiB,
- dev / dev-headers : 264 MiB, 4:15 min,
- libav-12.3 only, no extra libs: 96 MiB, 5:15 min,
- libav-12.3 + 3GP,MP3,H264,H265: 108 MiB, 6:15 min,
- ffmpeg-4.0.1 + all extra libs: 131 MiB, 10:30 min.
Contributor
Author
|
This also fixes Issue #118 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multi-capable Docker image.
Build Stages:
build-env- Create build environment image to build Untrunc,construction- Create image with a built Untrunc,production- Create Docker executable "docker-untrunc".AV Libraries:
dev- OS development packages,dev-headers- OS development packages with internal header files,libav-<vers>- Libav version<vers>build from source (like:libav-12.3),ffmpeg-<vers>- FFmpeg version<vers>build from source (like:ffmpeg-4.0.1),libav- Libav build from sources from git master,ffmpeg- FFmpeg build from sources from git master,""- Dockerfile default.AV Library Configuration (when building from source):
--enable-*- Libav/FFmpeg configuration options,""- Dockerfile default.The Site to get the AV Library sources from:
origin- The original site of the AV library's project,github- The mirror on GitHub of the the AV library's project,""- Dockerfile default.Notes:
Build results for Untrunc production image:
081 MiB, --:-- min: ubuntu parent image,264 MiB, 04:15 min:dev/dev-headers,096 MiB, 05:15 min:libav-12.3only, no extra libs,108 MiB, 06:15 min:libav-12.3+ 3GP,MP3,H264,H265,131 MiB, 10:30 min:ffmpeg-4.0.1+ all extra libs.ToDo:
build-envbuild-stage, so it can be re-used for successive builds.