slim down image: python:3.10-slim base + python-based healthcheck
ci/woodpecker/push/woodpecker Pipeline was canceled

Base python:3.10 (917MB) dominated the 986MB image and kaniko's snapshot/push time. All deps are pure-python/wheels, so slim works without build tools. Replace the curl healthcheck (curl absent in slim) with a stdlib urllib check.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
jianxinandClaude Opus 4.8 committed 2026-06-04 17:40:57 +08:00
1 parent 191e994572
commit e81722b8d2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.10-slim
#
WORKDIR /code