Skip to content

fix: outdated and broken python minor version in Dockerfile #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matfax
Copy link

@matfax matfax commented Aug 3, 2025

The current Docker upstream image it outdated and causes build issues on rebuilds:

   > [5/7] RUN apt-get update && apt-get install --no-install-recommends -y curl git && apt-get clean && rm -rf /var/lib/apt/lists/*:
  0.165 Err:4 http://security.debian.org/debian-security buster/updates Release
  0.165   404  Not Found [IP: 146.75.30.132 80]
  0.167 Err:5 http://deb.debian.org/debian buster Release
  0.167   404  Not Found [IP: 146.75.30.132 80]
  0.174 Err:6 http://deb.debian.org/debian buster-updates Release
  0.174   404  Not Found [IP: 146.75.30.132 80]
  0.178 Reading package lists...
  0.185 E: The repository 'http://security.debian.org/debian-security buster/updates Release' does not have a Release file.
  0.185 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
  0.185 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.

Moreover, the ENV instruction without = is deprecated.

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 3)
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 4)
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 2)

This PR solves the rebuild issues and bumps Python to the newer and still maintained version 3.11.

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.

1 participant