Skip to content

csandman/docker-audiowaveform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker audiowaveform Alpine Builder

Build side docker container to use in multistage builds for reducing total container size

Usage in multistage builds

Link container and copy binaries from it. Don't forget about required libraries.

FROM alpine:latest

# Add audiowaveform runtime dependencies
# https://github.com/bbc/audiowaveform#package
RUN apk add --no-cache libmad libsndfile libid3tag gd boost

# Copy the static binary from this container
COPY --from=csandman/audiowaveform /bin/audiowaveform /usr/local/bin
# Optionally copy the test library over as well
# COPY --from=csandman/audiowaveform /bin/audiowaveform_test /usr/local/bin

Credits