当前位置: 首页 > news >正文

解决alas在docker上部署失败的问题

自从debian 11停止维护以后,alas的docker部署就出了问题。以下是相关配置文件的修改,在本人的计算机上测试部署生效。
测试环境:

System Report details

Date generated: 2026-01-16 16:52:56

Hardware Information:

Hardware Model: MECHREVO Jiguang Pro Series GS5AG0O

Memory: 16.0 GiB

Processor: 12th Gen Intel Core i5-12450H x 12

Graphics: NVIDIA GeForce RTX 3060 Laptop GPU

Disk Capacity: 512.1 GB

Software Information:

Firmware Version: N.1.02MRO05

OS Name: Ubuntu Resolute Raccoon (development branch)

OS Build: (null)

OS Type: 64-bit

GNOME Version: 49

Windowing System: Wayland

Kernel Version: Linux 6.18.0-8-generic


1.Dockerfile.cn:

# docker build -t hgjazhgj/alas:latest . # docker run -v ${PWD}:/app/AzurLaneAutoScript -p 22267:22267 --name alas -it --rm hgjazhgj/alas FROM python:3.12-slim-trixie WORKDIR /app/AzurLaneAutoScript COPY requirements.txt /tmp/requirements.txt RUN echo "\ deb https://mirrors.aliyun.com/debian/ trixie main non-free contrib\n\ deb-src https://mirrors.aliyun.com/debian/ trixie main non-free contrib\n\ deb https://mirrors.aliyun.com/debian-security/ trixie-security main\n\ deb-src https://mirrors.aliyun.com/debian-security/ trixie-security main\n\ deb https://mirrors.aliyun.com/debian/ trixie-updates main non-free contrib\n\ deb-src https://mirrors.aliyun.com/debian/ trixie-updates main non-free contrib\n\ deb https://mirrors.aliyun.com/debian/ trixie-backports main non-free contrib\n\ deb-src https://mirrors.aliyun.com/debian/ trixie-backports main non-free contrib" \ > /etc/apt/sources.list \ && apt update \ && apt install -y git adb libgomp1 openssh-client pkg-config build-essential python3-dev libavcodec-dev libavformat-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libswresample-dev ffmpeg \ && git config --global --add safe.directory '*' \ && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo 'Asia/Shanghai' > /etc/timezone \ && pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \ && pip install -r /tmp/requirements.txt \ && rm /tmp/requirements.txt \ && rm -r ~/.cache/pip CMD python gui.py

2.requirements.txt:

# Image processing numpy==1.26.4 scipy==1.13.0 pillow opencv-python-headless imageio==2.37.2 # Device connection adbutils>=2.9.1, <3.0.0 uiautomator2==3.3.3 uiautomator2cache==0.3.0.1 wrapt==2.0.1 retrying lz4 av==16.1.0 psutil==5.9.5 # Utils rich==13.7.0 tqdm jellyfish==0.11.2 pyyaml inflection pydantic aiofiles prettytable==3.9.0 anyio==4.3.0 # Pushing onepush==1.4.0 pycryptodome==3.19.0 pypresence==4.3.0 # Ocr cnocr==2.2.4 mxnet==1.9.0 # Webui pywebio==1.7.0 starlette==0.27.0 uvicorn[standard]==0.23.0 zerorpc==0.6.3 pyzmq==25.1.2 #shabi cached-property==2.0.1
http://www.jsqmd.com/news/254968/

相关文章:

  • 提示工程架构师警惕!Agentic AI伦理设计中的“短视行为”
  • 【NestJS】为什么return不返回客户端?
  • 超低功耗ARM处理器RK3566刷群晖DS-124包到底怎样?
  • 313. 超级丑数
  • AI平台Dataiku 支Windows系统安装过程总结
  • 智能监控 AI 分析终端开发实战:从搭建到部署完整教程
  • 教程 39 - 变换和父子关系 - 详解
  • 孩子近视不可逆!做好这3件事,让近视按下“暂停键”!
  • RS485通信实验
  • 学习记录260116
  • 拓展linux磁盘大小
  • adb调试
  • 04.配置请求过滤器,限制只有登录状态才能访问后端接口(jwt)
  • GitHub desktop 推送报错问题解决
  • 开源大模型微调对比:选对模型,让定制化更高效
  • 12.QWidget、QDialog、QMainWindow
  • Cobalt Strike横向渗透之Https Beacon实战1(跳板机Linux) - 教程
  • 【概率与期望相关】- 笔记
  • 编写一个Buildroot 驱动
  • 20260115紫题训练总结 - Link
  • JavaOOP
  • 《欲罢不能:刷屏时代如何摆脱行为上瘾》
  • 家用照片打印天花板!佳能 PIXMA iP3500 驱动让色彩还原度拉满
  • Redis 事务(MULTI/EXEC)与 Lua 脚本的核心区别 - 详解
  • 办公党狂喜!惠普 Deskjet F4180 一体机驱动稳定版,打印扫描复印全在线
  • 2026年嘉应学院寒假算法冬令营结训赛
  • STM32上进行卡尔曼滤波
  • 上海团队与华盛顿大学联手:AI实现医学图像精准识别突破
  • SEO救星上线!Google Search Console新功能手把手教你秒提收录
  • 多模一体破局:金仓数据库引领文档数据库国产化新征程