refactor: 目录重构为 top/image(自建镜像)与 top/app(部署编排)

This commit is contained in:
2025-10-11 21:45:40 +08:00
parent f17b8677b1
commit 16abb6fc2e
242 changed files with 125 additions and 25 deletions
+32
View File
@@ -0,0 +1,32 @@
FROM registry.cn-shanghai.aliyuncs.com/odboy/kenaito:alinux3-update20261111
LABEL MAINTAINER="tianjun@odboy.cn"
ENV TimeZone=Asia/Shanghai
ENV PYTHON_HOME=/usr/local/python3
ENV PATH="${PYTHON_HOME}/bin:$PATH"
WORKDIR /home/admin
ADD https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz ./
RUN yum install \
libffi-devel \
zlib-devel \
bzip2-devel \
openssl-devel \
ncurses-devel \
sqlite-devel \
readline-devel \
tk-devel \
gdbm-devel \
libpcap-devel \
xz-devel \
make \
patch \
gcc \
tar \
sysstat \
net-tools -y; \
tar -xvf Python-3.10.0.tgz; \
cd Python-3.10.0; \
./configure --prefix=/usr/local/python3; \
make && make install; \
python3 -V; \
mkdir ~/.pip;
COPY pip.conf ~/.pip/
+3
View File
@@ -0,0 +1,3 @@
IMAGE=registry.cn-shanghai.aliyuncs.com/odboy/kenaito:runtime-python3
docker build -t "${IMAGE}" .
docker push "${IMAGE}"
+5
View File
@@ -0,0 +1,5 @@
[global]
index-url = https://mirrors.aliyun.com/pypi/simple
[install]
trusted-host = mirrors.aliyun.com