Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 989 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 989 Bytes

About

These are Dockerfiles to conveniently build ffmpeg and audiowaveform so they work in AWS Lambda functions.

Instructions

  1. Clone this repo, and navigate into the folder for the tool you want to build.
  2. The Dockerfiles default to pulling an x86_64 version of Amazon Linux. Feel free to edit the Dockerfile to pull arm64 instead.
  3. Run yarn build, and go brew some coffee—this will take a while!
  4. Run yarn install, which will copy the compiled binary into a bin folder in the current directory.
  5. Finally, run yarn clean to remove the Docker container (this won't remove the binary file you just built).

Using with Lambda

We recommend zipping up the binaries and creating a Lambda Layer so you can reduce the size of your Lambda code bundle, and update the binaries independently of your Lambda function(s).