为了能快速了解并处理您的问题,请提供以下基础信息:
宝塔版本:[size=1.2][url=]9.2.0[/url]
Server: Docker Engine - Community
Engine:
Version: 26.1.4
API version: 1.45 (minimum version 1.24)
Go version: go1.21.11
Git commit: de5c9cf
Built: Wed Jun 5 11:29:25 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.18
GitCommit: ae71819c4f5e67bb4d5ae76a6b735f29cc25774e
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
dockerfile:
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
EXPOSE 5005
COPY . .
# 设置语言/区域设置环境变量
ENV LANG zh-Hans
# 使用阿里云的镜像源进行更新
RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list
# 更新包管理器并安装free命令
RUN apt-get update && apt-get install -y procps
ENTRYPOINT ["dotnet", "Admin.NET.Web.Entry.dll"]
执行提示:docker sed: can't read /etc/apt/sources.list: No such file or directory
|
|