Skip to content

Instantly share code, notes, and snippets.

@jswhisperer
Last active December 14, 2024 17:15
Show Gist options
  • Save jswhisperer/318ac8f5a55a35bd095e241863ede227 to your computer and use it in GitHub Desktop.
Save jswhisperer/318ac8f5a55a35bd095e241863ede227 to your computer and use it in GitHub Desktop.
# DOCKERFILE
FROM ubuntu:latest
ADD https://github.com/openfaas/faas/releases/download/0.6.9/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV FFMPEG_VERSION=3.0.2
WORKDIR /tmp/ffmpeg
RUN apt-get -y update && apt-get -y dist-upgrade && apt-get -y install software-properties-common
RUN add-apt-repository ppa:mc3man/trusty-media -y
RUN apt-get -y install ffmpeg
ENV fprocess="xargs ffmpeg"
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment