【发布时间】:2021-10-30 14:05:09
【问题描述】:
我正在尝试在 docker 容器上安装 windscribe vpn,但我从命令 docker-compose build 得到此输出,其他类似问题似乎不相关
Errors were encountered while processing:
resolvconf
windscribe-cli
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: Service 'app' failed to build: The command '/bin/sh -c apt-get -y update && apt-get install -y windscribe-cli' returned a non-zero code: 100
这是我的 dockerfile 中的代码
FROM ubuntu:latest
RUN apt-get update && apt-get install -y apt-transport-https
RUN apt-get install -y gnupg
#install windscribe
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key FDC247B7
RUN echo 'deb https://repo.windscribe.com/ubuntu bionic main' | tee /etc/apt/sources.list.d/windscribe-repo.list
RUN apt install --reinstall ca-certificates -y
RUN apt-get -y update && apt-get install -y windscribe-cli
【问题讨论】:
标签: docker ubuntu docker-compose dockerfile vpn