我正在尝试将HandBrakeCLI安装在Docker容器中。
在我的Dockerfile中,我有:
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
RUN apk add --no-cache handbrake我得到以下错误:
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
so:libx265.so.169 (missing):
required by: handbrake-1.2.2-r1[so:libx265.so.169]
ERROR: Service 'app' failed to build: The command '/bin/sh -c apk add --no-cache handbrake' returned a non-zero code: 2我已经搜索了一段时间关于如何获得libx265,但什么都没有起作用。有什么想法吗?
发布于 2019-09-17 09:46:45
您没有遵循正确的语法从edge或testing分支添加包。
FROM alpine
RUN apk update && apk add --no-cache handbrake --repository="http://dl-cdn.alpinelinux.org/alpine/edge/testing" https://stackoverflow.com/questions/57966042
复制相似问题