ChatGPT-wechat-bot icon indicating copy to clipboard operation
ChatGPT-wechat-bot copied to clipboard

Warning: apt-key output should not be parsed (stdout is not a terminal)

Open JaneConan opened this issue 2 years ago • 6 comments

image

JaneConan avatar Dec 09 '22 16:12 JaneConan

我也遇到了这个问题,你有成功解决吗?

Sisyphean-a avatar Dec 10 '22 02:12 Sisyphean-a

@JaneConan @Sisyphean-a 能提供一下复现步骤吗?

AutumnWhj avatar Dec 10 '22 04:12 AutumnWhj

@AutumnWhj 不知道哪些信息对你有用

-- 系统版本 Ubuntu 22.04 LTS

-- Docker版本 Version: 20.10.17 API version: 1.41 Go version: go1.16.15 Git commit: 100c70180f Built: Thu Sep 22 06:21:41 2022 OS/Arch: linux/amd64 Context: default Experimental: true

-- 步骤 git clone https://github.com/AutumnWhj/ChatGPT-wechat-bot.git cd ChatGPT-wechat-bot/ docker build --pull --rm -f "Dockerfile" -t wechatbot:latest "."

我在遇到这个警告之前,前面还有一个警告: debconf: delaying package configuration, since apt-utils is not installed 屏幕截图

Sisyphean-a avatar Dec 10 '22 04:12 Sisyphean-a

@Sisyphean-a 尝试这段代码加进去试试 # Suppress an apt-key warning about standard out not being a terminal. Use in this script is safe. ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn

AutumnWhj avatar Dec 10 '22 05:12 AutumnWhj

image

AutumnWhj avatar Dec 10 '22 05:12 AutumnWhj

@Sisyphean-a 我搞了个Ubuntu的服务器,docker版本跟你对齐了 Docker version 20.10.17, build 100c701,没发现有问题。

AutumnWhj avatar Dec 10 '22 05:12 AutumnWhj