Use aws-cli v2
MODIFY
aws-ts-thumbnailer/docker-ffmpeg-thumb/Dockerfile
aws-ts-thumbnailer/docker-ffmpeg-thumb/Dockerfile
FROM jrottenberg/ffmpeg
-RUN apt-get update && \
- apt-get install python-dev python-pip -y && \
- apt-get clean
+RUN apt-get update --yes && \
+ apt-get install curl unzip --yes && \
+ apt-get clean --yes
-RUN pip install awscli
+# Install AWS v2 cli
+RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
+ unzip awscliv2.zip && \
+ ./aws/install && \
+ rm -rf aws
WORKDIR /tmp/workdir

MODIFY
cloud-js-thumbnailer-machine-learning/docker-ffmpeg-thumb/Dockerfile
cloud-js-thumbnailer-machine-learning/docker-ffmpeg-thumb/Dockerfile
FROM jrottenberg/ffmpeg
-RUN apt-get update && \
- apt-get install python-dev python-pip -y && \
- apt-get clean
+RUN apt-get update --yes && \
+ apt-get install curl unzip --yes && \
+ apt-get clean --yes
-RUN pip install awscli
+# Install AWS v2 cli
+RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
+ unzip awscliv2.zip && \
+ ./aws/install && \
+ rm -rf aws
WORKDIR /tmp/workdir

Use aws-cli v2 (#1113)