refactor: 目录重组,runtime-python3→runtime-python310、tools-ansible→app/ansible、dotnet6 示例→demo/dotnet6,并同步 README

This commit is contained in:
2026-02-14 21:33:46 +08:00
parent 5aa2b62299
commit 7da5941183
21 changed files with 7 additions and 14 deletions
+30
View File
@@ -0,0 +1,30 @@
FROM registry.cn-shanghai.aliyuncs.com/odboy/kenaito:system-alinux3
LABEL MAINTAINER="tianjun@odboy.cn"
ENV TimeZone=Asia/Shanghai
ENV PYTHON_HOME=/usr/local/python3
ENV PATH="${PYTHON_HOME}/bin:$PATH"
WORKDIR /home/admin
# https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz
# 由 build.sh 预先下载到本目录
ADD Python-3.10.0.tgz ./
RUN set -e && yum install \
libffi-devel \
zlib-devel \
bzip2-devel \
openssl-devel \
ncurses-devel \
sqlite-devel \
readline-devel \
xz-devel \
make \
gcc \
tar \
sysstat \
net-tools -y; \
cd Python-3.10.0; \
./configure --prefix=/usr/local/python3; \
make && make install; \
python3 -V; \
cd /home/admin && rm -rf Python-3.10.0; \
mkdir ~/.pip;
COPY pip.conf ~/.pip/