Skip to content

resonatecoop/ffmpeg-alpine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠 Status: Maintenance Mode | Stable

This project is currently in maintenance mode - users should feel free to continue to use this app and expect bug fixes, but not expect many additional features.

FFMPEG Linux Alpine 3.14 Docker images

These images were heavily inspired by this image. However with a lot changes like:

  • no more single Dockerfile (3 image layers: dependencies, build-stage, runtime)
  • no more forced multi-stage builds except those cases when final stage is vanilla operating system
  • alpine 3.14
  • ffmpeg 4.0 by default

Dependencies

Dependencies image contains all necessary libraries for FFMPEG built from source.

Build stage

Build-stage image contains only build of an FFMPEG with a copy of shared objects from the dependency image. Image size: 564MB

Runtime

Runtime image contains a copy of binaries, includes, libraries and shares, i.e all necessary pieces for an FFMPEG. Image size: 69.5MB

Example application

ffmpeg tool image is basically a containerized version of ffmpeg CLI tool. More to come. Image size: 69.5MB at minimum

Custom runtime

In order to get all necessary ffmpeg pieces you need to create a Dockerfile with the following instructions:

FROM denismakogon/ffmpeg-alpine:4.0-buildstage as build-stage
FROM <your-final-stage-image>

COPY --from=build-stage /tmp/fakeroot/bin /usr/local/bin
COPY --from=build-stage /tmp/fakeroot/share /usr/local/share
COPY --from=build-stage /tmp/fakeroot/include /usr/local/include
COPY --from=build-stage /tmp/fakeroot/lib /usr/local/lib

About

FFMPEG Linux Alpine 3.7 Docker images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%