Skip to content

Conversation

@tyndria
Copy link
Contributor

@tyndria tyndria commented Oct 15, 2025

What

Summary of changes

seldonio/core-builder image changes

  • Fixed building seldonio/core-builder image at first and then get rid of conda downloads from the official anaconda channel
  • Removed potentially unused dependencies from the core-builder image: jenkins, argo, gcloud
  • Upgrade seldonio/core-builder base image (and installed dependencies)

Related changes

  • Removed Jenkins configuration files as we're not using it anymore. Because those Jenkins pipelines are using seldonio/core-builder image, I've decided to remove them to avoid confusion
  • Fixed release.py script as some Dockerfiles don't exist anymore
  • Refactor few bash scripts and makefiles to be able to easily run them on non‑x86_64 hosts (to always build images for linux/amd64)

Checklist

  • Added/updated unit tests
  • Added/updated documentation
  • Checked for typos in variable names, comments, etc.
  • Added licences for new files

Testing

  • Successfully run ./release <version> script on top of the new image
  • Successfully run make -C operator/helm create on top of the new image
  • Execute Java s2i example (incubating/wrappers/s2i/java/test)

ENV PYTHON_VERSION "3.8.10"
ENV PYTHON_VERSION="3.8.10"

RUN printf '%s\n' \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ensure I could use this old openjdk:13.0.1-jdk-buster to allow gradual upgrade of this image.

Ideally we should change the base image, but I have to understand what to test apart from the ./release and operator helm scripts

&& rm -f /tmp/apache-maven.tar.gz \
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
RUN set -eux; \
BASE_URL="https://archive.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries"; \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved to archives as image building was failing. Temporary - until we replace the base image

@lc525 lc525 added the v1 label Oct 20, 2025

def update_dockerfile_label_version(seldon_core_version, debug=False):
paths = [
"operator/Dockerfile.redhat",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These files don't exist


MAVEN_REPOSITORY_LOCATION=/tmp/.m2/repository

PLATFORM_ARGS=()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To ensure image could be easily built on non x86_64 hosts

MKFILE_DIR := $(dir $(MKFILE_PATH))
SELDON_CORE_DIR := $(realpath $(MKFILE_DIR)/../..)

UNAME_M := $(shell uname -m)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To ensure image could be easily built on non x86_64 hosts


RUN apt-get upgrade && \
apt-get update
RUN printf '%s\n' \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The base image is archived, so it's a temporary hack to build the image

DOCKER_IMAGE_VERSION=0.30
DOCKER_IMAGE_VERSION=0.31

UNAME_M := $(shell uname -m)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To ensure image could be easily built on non x86_64 hosts

@tyndria
Copy link
Contributor Author

tyndria commented Oct 31, 2025

Image size is decreased after some dependencies were removed:

Screenshot 2025-10-31 at 09 47 35

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants