Skip to content
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

Issue #72 - Fix build failures when trying to use venv and install python packages #78

Conversation

richard-axual
Copy link
Contributor

This PR provides a new Dockerfile to build the KSML Runner and KSML Data Generator images.

It fixes the problems by

  • Using a dedicated KSML user (id 1024) which owns the GraalVM/Python installation.
  • Adding a fill GCC/G++ build stack to allow Python packages to be build
  • Adding other required utilities such as tar, curl and gzip
  • Download scripts have been optimized to download and extract in one step

The multistage build allows for very efficient target images .

Tested by

  • installing numpy as specified in the issue
  • Running the KSML container against a real Kafka and topic
  • Running the KSML Data Generator against a real Kafka and topic

Closes #72

@jeroenvandisseldorp jeroenvandisseldorp merged commit 358e912 into Axual:main Oct 23, 2023
@richard-axual richard-axual deleted the 72-docker-image-graalpy-venv-install-and-gu-commands-fail branch April 24, 2024 12:27
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.

Docker image, GraalPy venv, install and GU commands fail
2 participants