ChatGPT-wechat-bot
ChatGPT-wechat-bot copied to clipboard
Warning: apt-key output should not be parsed (stdout is not a terminal)
我也遇到了这个问题,你有成功解决吗?
@JaneConan @Sisyphean-a 能提供一下复现步骤吗?
@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 尝试这段代码加进去试试 # 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

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