Skip to content

fix: update base Docker images from EOL Debian Buster; add local build script - #39

Open
philphauler wants to merge 1 commit into
kplabs-pl:mainfrom
philphauler:fix/docker-base-images
Open

philphauler wants to merge 1 commit into
kplabs-pl:mainfrom
philphauler:fix/docker-base-images

Conversation

@philphauler

Copy link
Copy Markdown

Fixes #37
Addresses #36

All base images used Debian Buster (EOL June 2024) or Buster-based upstream images. apt-get update now returns 404 on the default mirrors, breaking local builds.

Updated to newer upstream tags (each verified on Docker Hub):

  • python3-base: python:3.7.9-slim-buster -> python:3.7.17-slim-bookworm
  • python36-base: python:3.6-slim-buster -> python:3.6-slim-bullseye
  • rust-base: rust:1.58-slim-buster -> rust:1.82-slim-bookworm

Kept on buster (no compatible newer upstream tag exists):

  • python2-base: python:2.7-slim-buster (Python 2.7 EOL, no bullseye/bookworm tag on Docker Hub)
  • java-base: openjdk:11-jre-slim-buster (no bookworm tag; eclipse-temurin noted as successor)
  • r-base: debian:buster-slim (pins r-base=3.5.2-1, not in newer repos)
  • r4-base: debian:buster-slim (uses buster-cran40 apt source)

Added build-base-images.sh: builds all base images locally in dependency order, tagged with the registry.gitlab.hpi.de/akita/i/ prefix so algorithm Dockerfiles work without modification. Pass --all to also build every algorithm image.

…s exist; add local build script

Updated to newer upstream tags (each verified on Docker Hub):
- python3-base: python:3.7.9-slim-buster -> python:3.7.17-slim-bookworm
- python36-base: python:3.6-slim-buster -> python:3.6-slim-bullseye
- rust-base: rust:1.58-slim-buster -> rust:1.82-slim-bookworm

Kept on buster (no compatible newer upstream tag exists):
- python2-base: python:2.7-slim-buster (Python 2.7 EOL)
- java-base: openjdk:11-jre-slim-buster (no bookworm tag on Docker Hub)
- r-base: debian:buster-slim (pins r-base=3.5.2-1, not in newer repos)
- r4-base: debian:buster-slim (uses buster-cran40 apt source)

Added build-base-images.sh: builds all base images locally in dependency
order, tagged with the registry.gitlab.hpi.de/akita/i/ prefix so algorithm
Dockerfiles work without modification. Pass --all to also build every
algorithm image.

Fixes kplabs-pl#37
Addresses kplabs-pl#36
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.

Failed to build python3-base

1 participant