FFMpeg 本周更新,导致构建中断。
我的选择是:
- 将 ffmpeg 固定到以前的版本?如果是这样,我如何固定到当前版本之前的版本?
- 更新 python dockerfile 版本
输出:
Step 8/42 : RUN apk add --no-cache ffmpeg
---> Running in 9e46540ed393
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
fetch http://dl-8.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
so:libvpx.so.6 (missing):
required by:
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
The command '/bin/sh -c apk add --no-cache ffmpeg' returned a non-zero code: 3
ERROR: Job failed: exit code 3
FATAL: exit code 3
Dockerfile:
FROM python:3.6.7-alpine
ENV LANG C.UTF-8
RUN echo "http://dl-8.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk upgrade
RUN addgroup -S django && adduser -S -G django django
RUN apk update
# FFMPEG/Sox dependencies
RUN apk add sox
#RUN apk add --no-cache libvpx-dev
RUN apk add --no-cache ffmpeg