Skip to content

Conversation

@Wabri
Copy link
Member

@Wabri Wabri commented Nov 26, 2025

No description provided.

@Wabri Wabri self-assigned this Nov 26, 2025
Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

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

As there is already https://github.com/openSUSE/qem-bot/blob/master/Containerfile this might be a bit confusing for users finding both. Also Containerfile is using a different approach. Here you spawn a container to run pip within. Why not just a Python virtualenv then?

@Wabri
Copy link
Member Author

Wabri commented Nov 27, 2025

This container it's meant to be use to only as development environment different from Containerfile that run the entire software. I'm never be a huge fan of python virtual environment and since from when I learn docker I always try to replace virtualenv, and related, with docker/podman. I find docker more straight forward and less disruptive than other method. In other project I find it more reliable regards env variables, system libraries and it's more easy to check the execution with different python versions. It's also more easy to use with a new contributor, have more ways to run, test and develop the software is a good practice in my view.

@@ -0,0 +1,11 @@
FROM python:3.12-slim
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason to not use Tumbleweed/Leap as a base?

Copy link
Member Author

Choose a reason for hiding this comment

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

I take a template from another project of mine. If there is a slim opensuse python image base that would be great.

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.

3 participants