Add node-python-docker image and spread weekly build schedule
node-python-docker image / build (arm64) (push) Successful in 1m27s
node-python image / build (amd64) (push) Successful in 2m5s
node-python image / build (arm64) (push) Successful in 1m1s
node-python image / amend-manifest (push) Successful in 12s
node-python-docker image / build (amd64) (push) Successful in 3m56s
node-python-docker image / amend-manifest (push) Successful in 16s

- New node-python-docker image (node + python3 venv + docker CLI + git)
  for CI jobs that need all three
- Spread weekly build cron 2h apart (UTC Sunday): docker-node 00:00,
  node-python 02:00, node-go 04:00, node-python-docker 06:00
- Drop python3-distutils from node-python (removed in Debian trixie /
  Python 3.13, would break the weekly build)
This commit is contained in:
claudecode Bot committed 2026-11-07 15:06:57 +07:00
1 parent 64ba252e49
commit 89b4c47410
6 files changed
+112 -3

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
FROM node:lts-slim
ENV DEBIAN_FRONTEND=noninteractive \
DOCKER_HOST=unix:///var/run/docker.sock
# Cài git + Python 3 (Debian stable) + Docker CLI (repo chính thức Docker)
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates curl gnupg lsb-release \
git \
python3 python3-pip python3-venv; \
install -m 0755 -d /etc/apt/keyrings; \
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc; \
chmod a+r /etc/apt/keyrings/docker.asc; \
. /etc/os-release; \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian ${VERSION_CODENAME} stable" \
> /etc/apt/sources.list.d/docker.list; \
apt-get update; \
apt-get install -y --no-install-recommends docker-ce-cli; \
rm -rf /var/lib/apt/lists/*
# Tạo virtualenv mặc định cho mọi thứ Python trong container
# => bạn dùng `python`/`pip` là vào venv này luôn
RUN python3 -m venv /opt/venv \
&& /opt/venv/bin/python -m pip install --upgrade pip setuptools wheel
ENV PATH="/opt/venv/bin:${PATH}"
WORKDIR /app