-
-
Save Mikodes/b1db60b9b7ec739199da2a1becabeb72 to your computer and use it in GitHub Desktop.
elastic beanstalkでffmpegをインストールするためのebextensionsコンフィグ(.ebextensions/ffmpeg-download.config)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packages: | |
yum: | |
ImageMagick: [] | |
ImageMagick-devel: [] | |
container_commands: | |
01-wget: | |
command: "wget -O /tmp/ffmpeg.tar.xz https://johnvansickle.com/ffmpeg/release-source" | |
02-mkdir: | |
command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi" | |
03-tar: | |
command: "tar xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg" | |
04-unlink: | |
command: "if [[ -f /usr/bin/ffmpeg ]] ; then unlink /usr/bin/ffmpeg; fi" | |
05-ln: | |
command: "ln -sf /opt/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg /usr/bin/ffmpeg" | |
06-unlink: | |
command: "if [[ -f /usr/bin/ffmpeg ]] ; then unlink /usr/bin/ffprobe; fi" | |
07-ln: | |
command: "ln -sf /opt/ffmpeg/ffmpeg-3.4.1-64bit-static/ffprobe /usr/bin/ffprobe" | |
08-pecl: | |
command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment