Skip to content

Instantly share code, notes, and snippets.

@motoy3d
Last active May 17, 2020 09:21
Show Gist options
  • Save motoy3d/bfc190ade038cc1601bdfe8114426ed6 to your computer and use it in GitHub Desktop.
Save motoy3d/bfc190ade038cc1601bdfe8114426ed6 to your computer and use it in GitHub Desktop.
ffmpegイメージ
FROM jrottenberg/ffmpeg:4.1-ubuntu
RUN apt-get update
RUN apt-get install python3 python3-pip -y
# test
RUN pip3 install boto3
ADD getfile_s3.py /opt/getfile_s3.py
# transcoding by ffmpeg script
ADD transcode_job.sh /usr/local/bin/transcode_job.sh
RUN chmod +x /usr/local/bin/transcode_job.sh
# for local test
#RUN mkdir /root/.aws
#ADD config credentials /root/.aws/
ENTRYPOINT ["/usr/local/bin/transcode_job.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment