Skip to content

Commit f9da91c

Browse files
author
Han Wang
committed
fix(docker): use python:3.11-slim base for >=3.9 requirement
The Publish Docker image workflow broke on master after the minimum Python bump to 3.9: the base image dptechnology/dflow:latest ships Python 3.8.20, so `pip install .` aborts with "Package 'dpgen2' requires a different Python: 3.8.20 not in '>=3.9'". Switch the base to python:3.11-slim. pydflow is a declared dependency of dpgen2, so it is installed by `pip install .` and need not be baked into the base image. All install-time dependencies ship manylinux wheels (no source build), so the slim image is sufficient.
1 parent ed23df2 commit f9da91c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM dptechnology/dflow:latest
1+
FROM python:3.11-slim
22

33
WORKDIR /data/dpgen2
44
COPY ./ ./

0 commit comments

Comments
 (0)