Skip to content

Update Dockerfile to use python:3.14-slim - #29

Open
ziadhany wants to merge 3 commits into
aboutcode-org:mainfrom
ziadhany:update-python-docker
Open

ziadhany wants to merge 3 commits into
aboutcode-org:mainfrom
ziadhany:update-python-docker

Conversation

@ziadhany

@ziadhany ziadhany commented Nov 9, 2026

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: ziadhany <ziadhany2016@gmail.com>
Signed-off-by: ziadhany <ziadhany2016@gmail.com>
@ziadhany
ziadhany force-pushed the update-python-docker branch from 7c22ddf to 3a9877b Compare November 11, 2026 03:55

@keshav-space keshav-space left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ziadhany current docker build has problem, it creates symbolic link to python executable.

app@1a39b2251cc7:/opt/healthycode$ ls -lh .venv/bin/python
lrwxrwxrwx 1 root root 25 Nov  5 12:30 .venv/bin/python -> /usr/local/bin/python3.14

This is problematic because we mount HealthyCode to SCIO workers. If SCIO worker is running a different version of python, then HealthyCode executable will fail to run.

So i suggest we copy all required file in virtualenv using: https://python-poetry.org/docs/configuration/#virtualenvsoptionsalways-copy

RUN poetry config virtualenvs.in-project true \
    && poetry config virtualenvs.options.always-copy true

Signed-off-by: ziadhany <ziadhany2016@gmail.com>
@keshav-space

Copy link
Copy Markdown
Member

@ziadhany please also add the changelog and bump the version for v0.2.1 release.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants