Giter Site home page Giter Site logo

ffmpeg-alpine's Introduction

FFMPEG Linux Alpine 3.7 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.7
  • 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

ffmpeg-alpine's People

Contributors

denismakogon avatar fkarakas avatar magicalyak avatar sauraus avatar sspaink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ffmpeg-alpine's Issues

README Suggestion

At the end of the document there is a line for a sample Dockerfile
Shouldn't this line
FROM denismakogon/ffmpeg-alpine:4.0-runtime as build-stage
be
FROM denismakogon/ffmpeg-alpine:4.0-buildstage as build-stage
?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.