感谢大佬封装! 有没有考虑把dockerFile贴在docker hub页面哇。。这样以后有什么事的话,其它人也可以维护着走。
docker Hub 页面上可以贴dockerFile和说明。
更新的Dice Docker镜像
我获取了最新的镜像, 登录不行,报这个错:
镜像tag: minusdust/dice:latest id为: 7654676cbcdf DIGEST:7654676cbcdf
2022-07-13 12:24:53 I/Bot.2590519695: [UnsafeLogin] 正在提交中…
2022-07-13 12:24:53 I/Bot.2590519695: [UnsafeLogin] Submitting…
2022-07-13 12:24:53 I/Bot.2590519695: Login successful
2022-07-13 12:24:53 I/Bot.2590519695: Saved account secrets to local cache for fast login.
2022-07-13 12:24:53 I/Bot.2590519695: Login successful.
2022-07-13 12:24:54 V/Bot.2590519695: Event: BotOnlineEvent(bot=Bot(2590519695))
2022-07-13 12:24:54 I/MiraiNative: Mirai Native 正启用所有插件。
2022-07-13 12:24:54 I/MiraiNative: /root/dice/data/MiraiNative/plugins/linux/amd64/Dice.Driver.CQ.dll
2022-07-13 12:24:54 I/Bot.2590519695: Bot login successful.
空灵 (2590519695) Login successful
2022-07-13 12:24:54 I/MiraiNative: [DiceDriver DiceDriver] /root/dice/Diceki/w4123.Dice.linux.amd64.dll
2022-07-13 12:24:54 I/MiraiNative: [DiceDriver DiceDriver] Dice2590519695.init
2022-07-13 12:24:54 I/MiraiNative: [DiceDriver DiceDriver] Dice! by 溯洄 & Shiki Ver 2.6.4rc2(612) [GNUC 8.4.0 Jun 14 2022 13:50:58 on
Dice!驱动器 by 安研色Shiki & 溯洄w4123 ver0.4.1(8)[2022-03-14 23:17:55] for CoolQ
2022-07-13 12:24:54 I/MiraiNative: [DiceDriver DiceDriver] 2022-07-13 12:24:54
读取数据时遇到意外错误,程序可能无法正常运行。请尝试清空配置后重试。
[json.exception.type_error.302] type must be string, but is null
terminate called after throwing an instance of ‘nlohmann::detail::type_error’
what(): [json.exception.type_error.302] type must be boolean, but is null
Aborted (core dumped)
已经尝试过多次了
hjkl950217 我试着自己整了一个,你可以试试能不能用
docker pull kuron/dice
同步至上游最新版本(615),新版本修复了Linux系统无法启动的问题。
由于gitee仓库不再更新,故修改上游为GitHub,使用ghproxy进行sync。
苍穹,我滴超人
Natsukawa 哦 这么久才回复,非常抱歉。。后面我改用手机app部署的方式了
Stardust·减 哦 这么久才回复,非常抱歉。。后面我改用手机app部署的方式了
同步至上游最新版本2.6.5(631)。
同步至上游2.6.5fix2(633)版本
更新镜像版本为Ubuntu 22.04,优化镜像体积
更新Mirai版本为2.13,支持手机验证码登录。
合入真实设备信息生成插件,避免(或许?)风控
Stardust·减
最新版本在成功登陆后会报错
> #
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fbc557908e4, pid=52162, tid=52209
#
# JRE version: OpenJDK Runtime Environment (11.0.17+8) (build 11.0.17+8-post-Ubuntu-1ubuntu220.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.17+8-post-Ubuntu-1ubuntu220.04, mixed mode, sharing, tiered, compressed oops, serial gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x5788e4]
#
# Core dump will be written. Default location: /root/dice/core
#
# An error report file with more information is saved as:
# /root/dice/hs_err_pid52162.log
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
梴湉已知的问题,但我懒得修
Stardust·减
更新成2.13.1就能用了。
运行一下 ./mcl -u
就可以了。
梴湉 好,晚上推新镜像
Stardust·减
封装的内容可以更加简化,反正只用AMD64的Linux的dll文件,其他的可以全部删除,这样能再省出来一部分空间。