Use a local copy of ffmpeg
MODIFY
aws-ts-lambda-thumbnailer/docker-ffmpeg-thumb/Dockerfile
aws-ts-lambda-thumbnailer/docker-ffmpeg-thumb/Dockerfile
@@ -10,7 +10,9 @@ RUN unzip -q awscliv2.zip
RUN ./aws/install
# Install ffmpeg
-RUN curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz -s
+# RUN curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz -s
+# Note that we use a local copy of ffmpeg in this example to avoid downloading it, which sometimes errors out.
+COPY ffmpeg.tar.xz .
RUN tar -xf ffmpeg.tar.xz
RUN mv ffmpeg-*-amd64-static/ffmpeg /usr/bin

ADD
aws-ts-lambda-thumbnailer/docker-ffmpeg-thumb/ffmpeg.tar.xz
aws-ts-lambda-thumbnailer/docker-ffmpeg-thumb/ffmpeg.tar.xz
Binary files /dev/null and b/aws-ts-lambda-thumbnailer/docker-ffmpeg-thumb/ffmpeg.tar.xz differ

Use a local copy of ffmpeg (#1036)