news 2026/9/3 5:37:01

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

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
解决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
版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/9/2 23:27:31

基于 Flutter × OpenHarmony 构建应用选择主题部分实现

文章目录基于 Flutter OpenHarmony 构建应用选择主题部分实现前言背景Flutter OpenHarmony 跨端开发介绍开发核心代码心得总结基于 Flutter OpenHarmony 构建应用选择主题部分实现 前言 在现代移动应用开发中&#xff0c;“关于应用”页面是用户了解应用信息的重要入口。它…

作者头像 李华
网站建设 2026/9/3 4:47:52

新加坡科技设计大学:AI音乐生成终于学会“听懂“人类喜好了

这项由新加坡科技设计大学AMAAI实验室的Dorien Herremans和Abhinaba Roy共同完成的研究发表于2025年11月&#xff0c;论文编号为arXiv:2511.15038v1。对这项突破性研究感兴趣的读者可以通过该编号查找完整论文内容。说起AI作曲&#xff0c;你可能已经听过那些能根据文字描述生成…

作者头像 李华
网站建设 2026/9/3 4:50:46

林雪平大学团队让电脑配对图片速度提升70%

当你拿起手机拍摄风景照片时&#xff0c;可能从未想过电脑是如何识别和匹配这些图像的。但对于自动驾驶汽车、3D地图制作和虚拟现实技术来说&#xff0c;让机器准确快速地"看懂"并匹配不同角度拍摄的照片是至关重要的技能。最近&#xff0c;来自瑞典林雪平大学、查尔…

作者头像 李华
网站建设 2026/9/2 14:30:21

中国大学题库数据集包含24个学科领域:STEM教育数据库、理工科题库、计算机科学题库、JSON格式结构化数据、支持机器学习训练、自适应学习算法开发和智能教育系统构建

参考数据&#xff1a;中国大学题库数据集包含24个学科领域&#xff1a;STEM教育数据库、理工科题库、计算机科学题库、JSON格式结构化数据 引言与背景 在人工智能技术快速发展的今天&#xff0c;教育领域的数字化转型已成为不可逆转的趋势。高质量的教育数据集对于构建智能教育…

作者头像 李华